You are here

public function EntityCreateEvent::getDispatcherType in Hook Event Dispatcher 8

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

src/Event/Entity/EntityCreateEvent.php, line 15

Class

EntityCreateEvent
Class EntityCreateEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

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