function PluginFormBase::validateConfigurationForm
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::validateConfigurationForm()
- 10 core/lib/Drupal/Core/Plugin/PluginFormBase.php \Drupal\Core\Plugin\PluginFormBase::validateConfigurationForm()
- 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\PluginCode
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.