Entity::uuidGenerator

protected Entity::uuidGenerator()

Gets the UUID generator.

Return value

\Drupal\Component\Uuid\UuidInterface

File

core/lib/Drupal/Core/Entity/Entity.php, line 104

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected function uuidGenerator() {
  return \Drupal::service('uuid');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.