You are here

public function EntityLoadEvent::getDispatcherType 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::getDispatcherType()

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

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

Class

EntityLoadEvent
Class EntityLoadEvent.

Namespace

Drupal\core_event_dispatcher\Event\Entity

Code

public function getDispatcherType() : string {
  return HookEventDispatcherInterface::ENTITY_LOAD;
}