function EntityBase::getOriginal
Overrides EntityInterface::getOriginal
12 calls to EntityBase::getOriginal()
- BaseFieldOverride::preSave in core/
lib/ Drupal/ Core/ Field/ Entity/ BaseFieldOverride.php - BlockContent::preSaveRevision in core/
modules/ block_content/ src/ Entity/ BlockContent.php - Acts on a revision before it gets saved.
- ContentEntityBase::hasTranslationChanges in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - EntityBase::__get in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - FieldConfig::preSave in core/
modules/ field/ src/ Entity/ FieldConfig.php - Overrides \Drupal\Core\Entity\EntityBase::preSave().
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 687
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public function getOriginal() : ?static {
return $this->originalEntity;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.