You are here

public static function FieldLayoutEntityDisplayFormTrait::settingsAjax in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait::settingsAjax()
  2. 10 core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait::settingsAjax()

Ajax callback for the field layout settings form.

File

core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php, line 130

Class

FieldLayoutEntityDisplayFormTrait
Provides shared code for entity display forms.

Namespace

Drupal\field_layout\Form

Code

public static function settingsAjax($form, FormStateInterface $form_state) {
  return $form['field_layouts']['settings_wrapper'];
}