You are here

public function EntityPresaveEvent::getDispatcherType in Hook Event Dispatcher 8

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

src/Event/Entity/EntityPresaveEvent.php, line 27

Class

EntityPresaveEvent
Class EntityPresaveEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Entity

Code

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