class ThemeSuggestionsAlterEvent in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterEvent.php \Drupal\core_event_dispatcher\Event\Theme\ThemeSuggestionsAlterEvent
Class ThemeSuggestionsAlterEvent.
Hierarchy
- class \Drupal\core_event_dispatcher\Event\Theme\AbstractThemeSuggestionsEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\core_event_dispatcher\Event\Theme\ThemeSuggestionsAlterEvent
Expanded class hierarchy of ThemeSuggestionsAlterEvent
2 files declare their use of ThemeSuggestionsAlterEvent
- core_event_dispatcher.module in modules/
core_event_dispatcher/ core_event_dispatcher.module - Core event dispatcher submodule.
- ThemeSuggestionsAlterEventTest.php in modules/
core_event_dispatcher/ tests/ src/ Unit/ Theme/ ThemeSuggestionsAlterEventTest.php
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ ThemeSuggestionsAlterEvent.php, line 10
Namespace
Drupal\core_event_dispatcher\Event\ThemeView source
class ThemeSuggestionsAlterEvent extends AbstractThemeSuggestionsEvent {
/**
* Returns the hook dispatcher type.
*
* @return string
* Dispatcher type.
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::THEME_SUGGESTIONS_ALTER;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractThemeSuggestionsEvent:: |
private | property | Hook name. | |
AbstractThemeSuggestionsEvent:: |
private | property | Array of suggestions. | |
AbstractThemeSuggestionsEvent:: |
private | property | Variables. | |
AbstractThemeSuggestionsEvent:: |
public | function | Get hook. | |
AbstractThemeSuggestionsEvent:: |
public | function | Get suggestions. | |
AbstractThemeSuggestionsEvent:: |
public | function | Get variables. | |
AbstractThemeSuggestionsEvent:: |
public | function | AbstractThemeSuggestionsEvent constructor. | |
ThemeSuggestionsAlterEvent:: |
public | function |
Returns the hook dispatcher type. Overrides EventInterface:: |