You are here

public function PluginSelectorInterface::validateSelectorForm in Plugin 8.2

Validates the selector form.

Parameters

mixed[] $form: The selector form as built by static::buildSelectorForm().

\Drupal\Core\Form\FormStateInterface $form_state: The form state for $form. This often is not the complete (global) form state.

1 method overrides PluginSelectorInterface::validateSelectorForm()
AdvancedPluginSelectorBase::validateSelectorForm in src/Plugin/Plugin/PluginSelector/AdvancedPluginSelectorBase.php
Validates the selector form.

File

src/Plugin/Plugin/PluginSelector/PluginSelectorInterface.php, line 208

Class

PluginSelectorInterface
Defines a plugin to select and configure another plugin.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

public function validateSelectorForm(array &$form, FormStateInterface $form_state);