public function ConfigEntityBase::getOriginalId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getOriginalId()
Gets the original ID.
Return value
int|string|null The original ID, or NULL if no ID was set or for entity types that do not support renames.
Overrides Entity::getOriginalId
3 calls to ConfigEntityBase::getOriginalId()
- ConfigEntityBase::preSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php - Acts on an entity before the presave hook is invoked.
- ConfigEntityBundleBase::preSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBundleBase.php - Acts on an entity before the presave hook is invoked.
- NodeType::postSave in core/
modules/ node/ src/ Entity/ NodeType.php - Acts on a saved entity before the insert or update hook is invoked.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 130 - Contains \Drupal\Core\Config\Entity\ConfigEntityBase.
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function getOriginalId() {
return $this->originalId;
}