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

Breadcrumb

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

function EntityBase::uuid

Overrides EntityInterface::uuid

5 calls to EntityBase::uuid()
ConfigEntityBase::preSave in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on an entity before the presave hook is invoked.
EntityBase::getConfigDependencyName in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the configuration dependency name.
EntityBase::getConfigTarget in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the configuration target identifier for the entity.
FieldConfig::getUniqueIdentifier in core/modules/field/src/Entity/FieldConfig.php
Returns a unique identifier for the field.
FieldStorageConfig::getUniqueStorageIdentifier in core/modules/field/src/Entity/FieldStorageConfig.php
Returns a unique identifier for the field storage.
1 method overrides EntityBase::uuid()
ContentEntityBase::uuid in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Gets the entity UUID (Universally Unique Identifier).

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 113

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function uuid() {
    return $this->uuid ?? NULL;
}

API Navigation

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