ConfigHandlerExtra::validateForm

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

File

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

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

Please login to continue.