class ThemeSuggestionsAlterIdEvent in Hook Event Dispatcher 8
Class ThemeSuggestionsAlterIdEvent.
Hierarchy
- class \Drupal\hook_event_dispatcher\Event\Theme\BaseThemeSuggestionsEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\hook_event_dispatcher\Event\Theme\ThemeSuggestionsAlterIdEvent
Expanded class hierarchy of ThemeSuggestionsAlterIdEvent
1 file declares its use of ThemeSuggestionsAlterIdEvent
- hook_event_dispatcher.module in ./
hook_event_dispatcher.module - Hook event dispatcher module.
File
- src/
Event/ Theme/ ThemeSuggestionsAlterIdEvent.php, line 8
Namespace
Drupal\hook_event_dispatcher\Event\ThemeView source
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';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseThemeSuggestionsEvent:: |
protected | property | Hook name. | |
BaseThemeSuggestionsEvent:: |
protected | property | Array of suggestions. | |
BaseThemeSuggestionsEvent:: |
protected | property | Variables. | |
BaseThemeSuggestionsEvent:: |
public | function | Get hook. | |
BaseThemeSuggestionsEvent:: |
public | function | Get suggestions. | |
BaseThemeSuggestionsEvent:: |
public | function | Get variables. | |
BaseThemeSuggestionsEvent:: |
public | function | Set suggestions. | |
BaseThemeSuggestionsEvent:: |
public | function | BaseThemeSuggestionsEvent constructor. | |
ThemeSuggestionsAlterIdEvent:: |
public | function |
Returns the hook dispatcher type. Overrides EventInterface:: |