function ConfigureSectionForm::validateForm
Same name in other branches
- 9 core/modules/layout_builder/src/Form/ConfigureSectionForm.php \Drupal\layout_builder\Form\ConfigureSectionForm::validateForm()
- 8.9.x core/modules/layout_builder/src/Form/ConfigureSectionForm.php \Drupal\layout_builder\Form\ConfigureSectionForm::validateForm()
- 10 core/modules/layout_builder/src/Form/ConfigureSectionForm.php \Drupal\layout_builder\Form\ConfigureSectionForm::validateForm()
Overrides FormBase::validateForm
File
-
core/
modules/ layout_builder/ src/ Form/ ConfigureSectionForm.php, line 179
Class
- ConfigureSectionForm
- Provides a form for configuring a layout section.
Namespace
Drupal\layout_builder\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$subform_state = SubformState::createForSubform($form['layout_settings'], $form, $form_state);
$this->getPluginForm($this->layout)
->validateConfigurationForm($form['layout_settings'], $subform_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.