interface UuidInterface
Interface for generating UUIDs.
Hierarchy
- interface \Drupal\Component\Uuid\UuidInterface
 
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  
File
- 
              core/
lib/ Drupal/ Component/ Uuid/ UuidInterface.php, line 8  
Namespace
Drupal\Component\UuidView source
interface UuidInterface {
  
  /**
   * Generates a Universally Unique IDentifier (UUID).
   *
   * @return string
   *   A 16 byte integer represented as a hex string formatted with 4 hyphens.
   */
  public function generate();
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overrides | 
|---|---|---|---|---|
| UuidInterface::generate | public | function | Generates a Universally Unique IDentifier (UUID). | 3 | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.