function ViewsHandlerInterface::preQuery

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

Run before the view is built.

This gives all the handlers some time to set up before any handler has been fully run.

1 method overrides ViewsHandlerInterface::preQuery()
HandlerBase::preQuery in core/modules/views/src/Plugin/views/HandlerBase.php
Run before the view is built.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 19

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function preQuery();

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