You are here

public function ProcessorFormBase::validateForm in Production check & Production monitor 8

Form validation handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormBase::validateForm

File

src/Form/ProcessorFormBase.php, line 117

Class

ProcessorFormBase
Provides a base form for processor forms.

Namespace

Drupal\prod_check\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  parent::validateForm($form, $form_state);
  if ($this->plugin instanceof PluginFormInterface) {
    $this->plugin
      ->validateConfigurationForm($form, $form_state);
  }
}