You are here

public function EntityLoadEvent::__construct in Hook Event Dispatcher 8

EntityLoadEvent constructor.

Parameters

array $entities: The entities.

string $entityTypeId: The entity type id.

File

src/Event/Entity/EntityLoadEvent.php, line 35

Class

EntityLoadEvent
Class EntityLoadEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function __construct(array $entities, $entityTypeId) {
  $this->entities = $entities;
  $this->entityTypeId = $entityTypeId;
}