function View::getExecutable
Same name in other branches
- 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getExecutable()
- 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getExecutable()
- 11.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::getExecutable()
Overrides ViewEntityInterface::getExecutable
3 calls to View::getExecutable()
- View::addCacheMetadata in core/
modules/ views/ src/ Entity/ View.php - Fills in the cache metadata of this view.
- View::calculateDependencies in core/
modules/ views/ src/ Entity/ View.php - Calculates dependencies and stores them in the dependency property.
- View::duplicateDisplayAsType in core/
modules/ views/ src/ Entity/ View.php - Duplicates an existing display into a new display type.
File
-
core/
modules/ views/ src/ Entity/ View.php, line 122
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\EntityCode
public function getExecutable() {
// Ensure that an executable View is available.
if (!isset($this->executable)) {
$this->executable = Views::executableFactory()->get($this);
}
return $this->executable;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.