You are here

public function ConfigHandlerExtra::validateForm in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 99
Contains \Drupal\views_ui\Form\Ajax\ConfigHandlerExtra.

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);
}