You are here

public function BaseThemeSuggestionsEvent::getHook in Hook Event Dispatcher 8

Get hook.

Return value

string Name of the hook.

1 call to BaseThemeSuggestionsEvent::getHook()
ThemeSuggestionsAlterIdEvent::getDispatcherType in src/Event/Theme/ThemeSuggestionsAlterIdEvent.php
Returns the hook dispatcher type.

File

src/Event/Theme/BaseThemeSuggestionsEvent.php, line 86

Class

BaseThemeSuggestionsEvent
Class BaseThemeSuggestionsEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Theme

Code

public function getHook() {
  return $this->hook;
}