function ExposedFormPluginInterface::preExecute

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preExecute()
  2. 10 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preExecute()
  3. 11.x 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();

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