You are here

public function ThemeEvent::getDispatcherType in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Theme/ThemeEvent.php \Drupal\core_event_dispatcher\Event\Theme\ThemeEvent::getDispatcherType()

Get the dispatcher type.

Return value

string The dispatcher type.

Overrides EventInterface::getDispatcherType

File

modules/core_event_dispatcher/src/Event/Theme/ThemeEvent.php, line 49

Class

ThemeEvent
Class ThemeEvent.

Namespace

Drupal\core_event_dispatcher\Event\Theme

Code

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