You are here

public function EntityLoadEvent::getEntities in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityLoadEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityLoadEvent::getEntities()

Get the entities.

Return value

array The entities.

File

modules/core_event_dispatcher/src/Event/Entity/EntityLoadEvent.php, line 46

Class

EntityLoadEvent
Class EntityLoadEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getEntities() : array {
  return $this->entities;
}