ViewExecutable::_preQuery

protected ViewExecutable::_preQuery()

Runs the preQuery() on all active handlers.

File

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

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++;
    }
  }
}
doc_Drupal
2016-10-29 09:54:30
Comments
Leave a Comment

Please login to continue.