You are here

public function ViewExecutable::initHandlers in Zircon Profile 8

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

Acquire and attach all of the handlers.

3 calls to ViewExecutable::initHandlers()
ViewExecutable::build in core/modules/views/src/ViewExecutable.php
Build the query for the view.
ViewExecutable::buildTitle in core/modules/views/src/ViewExecutable.php
Force the view to build a title.
ViewExecutable::unserialize in core/modules/views/src/ViewExecutable.php

File

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

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

public function initHandlers() {
  $this
    ->initDisplay();
  if (empty($this->inited)) {
    foreach ($this::getHandlerTypes() as $key => $info) {
      $this
        ->_initHandler($key, $info);
    }
    $this->inited = TRUE;
  }
}