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