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