function hook_form_entity_browser_ENTITY_BROWSER_ID_form_alter in Entity Browser 8.2
Same name and namespace in other branches
- 8 entity_browser.api.php \hook_form_entity_browser_ENTITY_BROWSER_ID_form_alter()
Edit specific entity browser form.
Implements hook_form_FORM_ID_alter().
File
- ./
entity_browser.api.php, line 89 - Hooks related to entity browser and it's plugins.
Code
function hook_form_entity_browser_ENTITY_BROWSER_ID_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$form['#attributes']['class'][] = 'hello-world';
}