function 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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.