You are here

public function ViewUI::id in Drupal 9

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

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides EntityInterface::id

3 calls to ViewUI::id()
ViewUI::addFormToStack in core/modules/views_ui/src/ViewUI.php
Add another form to the stack; clicking 'apply' will go to this form rather than closing the ajax popup.
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 913

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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