function EntityBase::id
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::id()
- 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::id()
- 11.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::id()
Overrides EntityInterface::id
22 calls to EntityBase::id()
- Block::getPluginCollection in core/
modules/ block/ src/ Entity/ Block.php - Encapsulates the creation of the block's LazyPluginCollection.
- ConfigEntityBase::getConfigDependencyName in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - ConfigEntityBase::getConfigTarget in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - ConfigEntityBase::preSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - ConfigEntityBase::toArray in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php
10 methods override EntityBase::id()
- ContentEntityBase::id in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - ContentLanguageSettings::id in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Editor::id in core/
modules/ editor/ src/ Entity/ Editor.php - EntityDisplayBase::id in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayBase.php - FieldConfigBase::id in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 106
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function id() {
return $this->id ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.