Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UuidInterface.php

interface UuidInterface

Same name in this branch
  1. 11.1.x vendor/ramsey/uuid/src/UuidInterface.php \Ramsey\Uuid\UuidInterface
  2. 11.1.x vendor/ramsey/uuid/src/Rfc4122/UuidInterface.php \Ramsey\Uuid\Rfc4122\UuidInterface

Interface for generating UUIDs.

Hierarchy

  • interface \Drupal\Component\Uuid\UuidInterface

Expanded class hierarchy of UuidInterface

All classes that implement UuidInterface

8 files declare their use of UuidInterface
AddNavigationBlock.php in core/modules/navigation/src/Plugin/ConfigAction/AddNavigationBlock.php
BaseFieldOverrideStorage.php in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
ConfigEntityStorage.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
ConfigureBlockFormBase.php in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
FieldConfigStorage.php in core/modules/field/src/FieldConfigStorage.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 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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal