public function EntityBase::uuid in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::uuid()
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::uuid()
1 call to EntityBase::uuid()
- ConfigEntityBase::preSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Acts on an entity before the presave hook is invoked.
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\EntityCode
public function uuid() {
return $this->uuid ?? NULL;
}