public static function EntityBrowserEditForm::displayPluginAjaxCallback in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Form/EntityBrowserEditForm.php \Drupal\entity_browser\Form\EntityBrowserEditForm::displayPluginAjaxCallback()
AJAX callback for returning new display configuration.
File
- src/
Form/ EntityBrowserEditForm.php, line 352
Class
- EntityBrowserEditForm
- Class EntityBrowserEditForm.
Namespace
Drupal\entity_browser\FormCode
public static function displayPluginAjaxCallback($form, $form_state) {
$form['display_wrapper']['display_configuration']['#open'] = TRUE;
return $form['display_wrapper']['display_configuration'];
}