You are here

public function ViewExecutable::initHandlers in Views (for Drupal 7) 8.3

Acquire and attach all of the handlers.

2 calls to ViewExecutable::initHandlers()
ViewExecutable::build in lib/Drupal/views/ViewExecutable.php
Build the query for the view.
ViewExecutable::buildTitle in lib/Drupal/views/ViewExecutable.php
Force the view to build a title.

File

lib/Drupal/views/ViewExecutable.php, line 703
Definition of Drupal\views\ViewExecutable.

Class

ViewExecutable
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Namespace

Drupal\views

Code

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