You are here

public function ViewUI::id in Drupal 8

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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