8.2.x ConfigEntityBase.php public ConfigEntityBase::getOriginalId()
8.0.x ConfigEntityBase.php public ConfigEntityBase::getOriginalId()
8.1.x ConfigEntityBase.php public ConfigEntityBase::getOriginalId()
8.3.x ConfigEntityBase.php public 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

4 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::loadDisplays in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
Returns view or form displays for this bundle.
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 126

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function getOriginalId() {
  return $this->originalId;
}