public function EntityInterface::uuid

Returns 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 The UUID of the entity, or NULL if the entity does not have one.

2 methods override EntityInterface::uuid()
Entity::uuid in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::uuid().
ViewUI::uuid in drupal/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::uuid().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 40
Definition of Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function uuid();