function HandlerBase::validateExposeForm

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::validateExposeForm()
  2. 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::validateExposeForm()
  3. 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::validateExposeForm()

Validate the options form.

Parameters

array $form: Associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

2 methods override HandlerBase::validateExposeForm()
FilterPluginBase::validateExposeForm in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Validate the options form.
SortPluginBase::validateExposeForm in core/modules/views/src/Plugin/views/sort/SortPluginBase.php
Validate the options form.

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 497

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function validateExposeForm($form, FormStateInterface $form_state) {
}

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