You are here

interface UuidInterface in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Uuid/UuidInterface.php \Drupal\Component\Uuid\UuidInterface
  2. 10 core/lib/Drupal/Component/Uuid/UuidInterface.php \Drupal\Component\Uuid\UuidInterface

Interface for generating UUIDs.

Hierarchy

Expanded class hierarchy of UuidInterface

All classes that implement UuidInterface

11 files declare their use of UuidInterface
BaseFieldOverrideStorage.php in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
ConfigEntityStorage.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
ConfigEntityStorageTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
ConfigureBlockFormBase.php in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
EntityFormDisplayAccessControlHandlerTest.php in core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php

... See full list

File

core/lib/Drupal/Component/Uuid/UuidInterface.php, line 8

Namespace

Drupal\Component\Uuid
View source
interface UuidInterface {

  /**
   * Generates a Universally Unique IDentifier (UUID).
   *
   * @return
   *   A 16 byte integer represented as a hex string formatted with 4 hyphens.
   */
  public function generate();

}

Members

Namesort descending Modifiers Type Description Overrides
UuidInterface::generate public function Generates a Universally Unique IDentifier (UUID). 3