function PluginFormBase::validateConfigurationForm

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::validateConfigurationForm()
  2. 10 core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::validateConfigurationForm()
  3. 11.x core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::validateConfigurationForm()

Overrides PluginFormInterface::validateConfigurationForm

2 methods override PluginFormBase::validateConfigurationForm()
SystemBrandingOffCanvasForm::validateConfigurationForm in core/modules/system/src/Form/SystemBrandingOffCanvasForm.php
Form validation handler.
SystemMenuOffCanvasForm::validateConfigurationForm in core/modules/system/src/Form/SystemMenuOffCanvasForm.php
Form validation handler.

File

core/lib/Drupal/Core/Plugin/PluginFormBase.php, line 34

Class

PluginFormBase
Provides a base class for plugin forms.

Namespace

Drupal\Core\Plugin

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
    // Validation is optional.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.