public View::getExecutable()
Gets an executable instance for this view.
Return value
\Drupal\views\ViewExecutable A view executable instance.
Overrides ViewEntityInterface::getExecutable
File
- core/modules/views/src/Entity/View.php, line 120
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\Entity
Code
public function getExecutable() {
// Ensure that an executable View is available.
if (!isset($this->executable)) {
$this->executable = Views::executableFactory()->get($this);
}
return $this->executable;
}
Please login to continue.