You are here

public function EntityEvent::getEntity in Entity Events 2.0.x

Same name and namespace in other branches
  1. 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\Event

Code

public function getEntity() {
  return $this->entity;
}