public function EntityDisplayBase::id in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::id()
- 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
1 call to EntityDisplayBase::id()
- EntityDisplayBase::onDependencyRemoval in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php - Informs the entity that entities it depends on will be deleted.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php, line 240
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\EntityCode
public function id() {
return $this->targetEntityType . '.' . $this->bundle . '.' . $this->mode;
}