You are here

public function EntityViewEvent::getDispatcherType in Hook Event Dispatcher 8

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

src/Event/Entity/EntityViewEvent.php, line 101

Class

EntityViewEvent
Class EntityViewEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

public function getDispatcherType() {
  return HookEventDispatcherInterface::ENTITY_VIEW;
}