Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewExecutable.php

function ViewExecutable::_preQuery

Runs the preQuery() on all active handlers.

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

File

core/modules/views/src/ViewExecutable.php, line 1065

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++;
        }
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal