You are here

public function ViewUI::uuid in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::uuid()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::uuid()

Gets the entity UUID (Universally Unique Identifier).

The UUID is guaranteed to be unique and can be used to identify an entity across multiple systems.

Return value

string|null The UUID of the entity, or NULL if the entity does not have one.

Overrides EntityInterface::uuid

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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