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

Breadcrumb

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

function ViewExecutable::initHandlers

Acquires and attaches all of the handlers.

3 calls to ViewExecutable::initHandlers()
ViewExecutable::build in core/modules/views/src/ViewExecutable.php
Builds the query for the view.
ViewExecutable::buildTitle in core/modules/views/src/ViewExecutable.php
Forces the view to build a title.
ViewExecutable::__wakeup in core/modules/views/src/ViewExecutable.php
Magic method implementation to unserialize the view executable.

File

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

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

API Navigation

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