function ExposedFormPluginInterface::exposedFormValidate
Same name in other branches
- 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::exposedFormValidate()
- 8.9.x core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::exposedFormValidate()
- 10 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_formCode
public function exposedFormValidate(&$form, FormStateInterface $form_state);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.