You are here

public static function EntityBrowserEditForm::selectionDisplayAjaxCallback in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 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\Form

Code

public static function selectionDisplayAjaxCallback($form, $form_state) {
  $form['selection_display_wrapper']['selection_display_configuration']['#open'] = TRUE;
  return $form['selection_display_wrapper']['selection_display_configuration'];
}