You are here

public function ConfigHandlerExtra::validateForm in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php \Drupal\views_ui\Form\Ajax\ConfigHandlerExtra::validateForm()
  2. 10 core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php \Drupal\views_ui\Form\Ajax\ConfigHandlerExtra::validateForm()

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 ViewsFormBase::validateForm

File

core/modules/views_ui/src/Form/Ajax/ConfigHandlerExtra.php, line 96

Class

ConfigHandlerExtra
Provides a form for configuring extra information for a Views UI item.

Namespace

Drupal\views_ui\Form\Ajax

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->get('handler')
    ->validateExtraOptionsForm($form['options'], $form_state);
}