SystemMenuOffCanvasForm::validateConfigurationForm

public SystemMenuOffCanvasForm::validateConfigurationForm(array &$form, FormStateInterface $form_state)

Form validation handler.

Parameters

array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().

Overrides PluginFormBase::validateConfigurationForm

File

core/modules/outside_in/src/Form/SystemMenuOffCanvasForm.php, line 112

Class

SystemMenuOffCanvasForm
The off-canvas form handler for the SystemMenuBlock.

Namespace

Drupal\outside_in\Form

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this->plugin->validateConfigurationForm($form, $form_state);
  $this->getEntityForm($this->entity)->validateForm($form, $form_state);
}
doc_Drupal
2016-10-29 09:45:51
Comments
Leave a Comment

Please login to continue.