You are here

public function EntityOperationAlterEvent::getEntity in Hook Event Dispatcher 8

Get the entity.

Return value

\Drupal\Core\Entity\EntityInterface The entity.

File

src/Event/Entity/EntityOperationAlterEvent.php, line 60

Class

EntityOperationAlterEvent
Class EntityOperationAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

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