public static function FieldLayoutEntityDisplayFormTrait::settingsAjax in Drupal 8
Same name and namespace in other branches
- 9 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\FormCode
public static function settingsAjax($form, FormStateInterface $form_state) {
return $form['field_layouts']['settings_wrapper'];
}