public function EntityLoadEvent::__construct in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Entity/EntityLoadEvent.php \Drupal\core_event_dispatcher\Event\Entity\EntityLoadEvent::__construct()
EntityLoadEvent constructor.
Parameters
array $entities: The entities.
string $entityTypeId: The entity type id.
File
- modules/
core_event_dispatcher/ src/ Event/ Entity/ EntityLoadEvent.php, line 35
Class
- EntityLoadEvent
- Class EntityLoadEvent.
Namespace
Drupal\core_event_dispatcher\Event\EntityCode
public function __construct(array $entities, $entityTypeId) {
$this->entities = $entities;
$this->entityTypeId = $entityTypeId;
}