You are here

public function ExposedFormPluginInterface::preExecute 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::preExecute()
  2. 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preExecute()

Runs before the view has been executed.

Implement if your exposed form needs to run code before query execution.

See also

\Drupal\views\Plugin\views\display\DisplayPluginBase::preExecute()

1 method overrides ExposedFormPluginInterface::preExecute()
ExposedFormPluginBase::preExecute in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Runs before the view has been executed.

File

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

Class

ExposedFormPluginInterface
Interface for exposed filter form plugins.

Namespace

Drupal\views\Plugin\views\exposed_form

Code

public function preExecute();