ActionFormBase::validateForm

public ActionFormBase::validateForm(array &$form, FormStateInterface $form_state)

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

core/modules/action/src/ActionFormBase.php, line 121

Class

ActionFormBase
Provides a base form for action forms.

Namespace

Drupal\action

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);
  }
}
doc_Drupal
2016-10-29 08:43:19
Comments
Leave a Comment

Please login to continue.