public function EntityUpdateEvent::getOriginalEntity in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Entity/EntityUpdateEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityUpdateEvent::getOriginalEntity()
Get the original Entity.
Return value
\Drupal\Core\Entity\EntityInterface The original entity.
See also
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityUpdateEvent.php, line 21
Class
- EntityUpdateEvent
- Class EntityUpdateEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function getOriginalEntity() : EntityInterface {
return $this->entity->original;
}