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
2016-10-29 09:04:26
Comments
Leave a Comment

Please login to continue.