ThemeSuggestionsAlterIdEvent.php in Hook Event Dispatcher 8
Namespace
Drupal\hook_event_dispatcher\Event\ThemeFile
src/Event/Theme/ThemeSuggestionsAlterIdEvent.phpView source
<?php
namespace Drupal\hook_event_dispatcher\Event\Theme;
/**
* Class ThemeSuggestionsAlterIdEvent.
*/
class ThemeSuggestionsAlterIdEvent extends BaseThemeSuggestionsEvent {
/**
* Returns the hook dispatcher type.
*
* @return string
* Dispatcher type.
*/
public function getDispatcherType() {
return 'hook_event_dispatcher.theme.suggestions_' . $this
->getHook() . '_alter';
}
}
Classes
Name | Description |
---|---|
ThemeSuggestionsAlterIdEvent | Class ThemeSuggestionsAlterIdEvent. |