public function EntityEvent::getEntity in Entity Events 2.0.x
Same name and namespace in other branches
- 8 src/Event/EntityEvent.php \Drupal\entity_events\Event\EntityEvent::getEntity()
Method to get the entity from the event.
File
- src/
Event/ EntityEvent.php, line 43
Class
- EntityEvent
- Class to contain an entity event.
Namespace
Drupal\entity_events\EventCode
public function getEntity() {
return $this->entity;
}