function seven_preprocess_media_library_item__small
Same name in other branches
- 9 core/themes/seven/seven.theme \seven_preprocess_media_library_item__small()
Implements hook_preprocess_media_library_item__small().
This targets each pre-selected media item selected when adding new media in the modal media library dialog.
File
-
core/
themes/ seven/ seven.theme, line 308
Code
function seven_preprocess_media_library_item__small(array &$variables) {
$variables['content']['select']['#attributes']['class'][] = 'media-library-item__click-to-select-checkbox';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.