function SystemMenuOffCanvasForm::validateConfigurationForm
Overrides PluginFormBase::validateConfigurationForm
File
-
core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php, line 130
Class
- SystemMenuOffCanvasForm
- The setting_tray form handler for the SystemMenuBlock.
Namespace
Drupal\system\FormCode
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->plugin
->validateConfigurationForm($form, $form_state);
if (!$this->hasMenuOverrides()) {
$this->getEntityForm($this->menu)
->validateForm($form, $form_state);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.