function ActionFormBase::validateForm

Same name in other branches
  1. 9 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::validateForm()
  2. 8.9.x core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::validateForm()
  3. 10 core/modules/action/src/Form/ActionFormBase.php \Drupal\action\Form\ActionFormBase::validateForm()

Overrides FormBase::validateForm

File

core/modules/action/src/Form/ActionFormBase.php, line 113

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action\Form

Code

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

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