You are here

public function UnsavedIndexConfiguration::uuid in Search API 8

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

src/UnsavedIndexConfiguration.php, line 746

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

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