function EntityBase::getOriginalId
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getOriginalId()
- 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getOriginalId()
- 11.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::getOriginalId()
Overrides EntityInterface::getOriginalId
1 call to EntityBase::getOriginalId()
- ContentEntityBase::hasTranslationChanges in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php
1 method overrides EntityBase::getOriginalId()
- ConfigEntityBase::getOriginalId in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Gets the original ID.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 574
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function getOriginalId() {
// By default, entities do not support renames and do not have original IDs.
return NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.