You are here

public function ViewUI::getExecutable in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getExecutable()

Gets an executable instance for this view.

Return value

\Drupal\views\ViewExecutable A view executable instance.

Overrides ViewEntityInterface::getExecutable

2 calls to ViewUI::getExecutable()
ViewUI::cacheSet in core/modules/views_ui/src/ViewUI.php
Sets a cached view object in the shared tempstore.
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php

File

core/modules/views_ui/src/ViewUI.php, line 1126

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function getExecutable() {
  return $this->storage
    ->getExecutable();
}