You are here

public function ViewUI::getExecutable in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getExecutable()
  2. 9 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

4 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
ViewUI::standardSubmit in core/modules/views_ui/src/ViewUI.php
Basic submit handler applicable to all 'standard' forms.
ViewUI::submitItemAdd in core/modules/views_ui/src/ViewUI.php
Submit handler for adding new item(s) to a view.

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