You are here

public function ExposedFormPluginInterface::exposedFormValidate in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::exposedFormValidate()
  2. 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::exposedFormValidate()

Validates the exposed form submission.

Parameters

array $form: An associative array containing the structure of the form.

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

See also

\Drupal\views\Form\ViewsExposedForm::validateForm()

1 method overrides ExposedFormPluginInterface::exposedFormValidate()
ExposedFormPluginBase::exposedFormValidate in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Validates the exposed form submission.

File

core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php, line 132

Class

ExposedFormPluginInterface
Interface for exposed filter form plugins.

Namespace

Drupal\views\Plugin\views\exposed_form

Code

public function exposedFormValidate(&$form, FormStateInterface $form_state);