function thunder_media_form_entity_browser_multiple_image_browser_form_alter in Thunder 6.1.x
Same name and namespace in other branches
- 8.5 modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
- 8.2 modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
- 8.3 modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
- 8.4 modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
- 6.2.x modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
- 6.0.x modules/thunder_media/thunder_media.module \thunder_media_form_entity_browser_multiple_image_browser_form_alter()
Implements hook_form_FORM_ID_alter().
File
- modules/
thunder_media/ thunder_media.module, line 93 - Contains media related functions.
Code
function thunder_media_form_entity_browser_multiple_image_browser_form_alter(&$form, FormStateInterface $form_state) {
$form['#attached']['library'][] = 'thunder_media/entity_browser_view';
}