public function FieldLayoutEntityDisplayFormTrait::settingsAjaxSubmit in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait::settingsAjaxSubmit()
- 9 core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait::settingsAjaxSubmit()
Submit handler for the non-JS case.
File
- core/
modules/ field_layout/ src/ Form/ FieldLayoutEntityDisplayFormTrait.php, line 137
Class
- FieldLayoutEntityDisplayFormTrait
- Provides shared code for entity display forms.
Namespace
Drupal\field_layout\FormCode
public function settingsAjaxSubmit($form, FormStateInterface $form_state) {
$form_state
->set('layout_plugin', NULL);
$form_state
->setRebuild();
}