function ViewExecutable::initHandlers
Same name and namespace in other branches
- 11.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::initHandlers()
- 10 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::initHandlers()
- 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::initHandlers()
Acquires and attaches all of the handlers.
File
-
core/
modules/ views/ src/ ViewExecutable.php, line 899
Class
- ViewExecutable
- Represents a view as a whole.
Namespace
Drupal\viewsCode
public function initHandlers() {
$this->initDisplay();
if (empty($this->inited)) {
foreach ($this::getHandlerTypes() as $key => $info) {
$this->_initHandler($key, $info);
}
$this->inited = TRUE;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.