You are here

protected function ViewExecutable::_preQuery in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::_preQuery()

Run the preQuery() on all active handlers.

1 call to ViewExecutable::_preQuery()
ViewExecutable::build in core/modules/views/src/ViewExecutable.php
Build the query for the view.

File

core/modules/views/src/ViewExecutable.php, line 929
Contains \Drupal\views\ViewExecutable.

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

protected function _preQuery() {
  foreach ($this::getHandlerTypes() as $key => $info) {
    $handlers =& $this->{$key};
    $position = 0;
    foreach ($handlers as $id => $handler) {
      $handlers[$id]->position = $position;
      $handlers[$id]
        ->preQuery();
      $position++;
    }
  }
}