You are here

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

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

Returns the hook dispatcher type.

Return value

string Dispatcher type.

Overrides EventInterface::getDispatcherType

File

modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php, line 16

Class

ThemeSuggestionsAlterIdEvent
Class ThemeSuggestionsAlterIdEvent.

Namespace

Drupal\core_event_dispatcher\Event\Theme

Code

public function getDispatcherType() : string {
  return 'hook_event_dispatcher.theme.suggestions_' . $this
    ->getHook() . '_alter';
}