You are here

public function ViewsHandlerInterface::preQuery in Drupal 9

Same name and namespace in other branches
  1. 8 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()

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();