class ThemeSuggestionsAlterIdEvent in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php \Drupal\core_event_dispatcher\Event\Theme\ThemeSuggestionsAlterIdEvent
Class ThemeSuggestionsAlterIdEvent.
Hierarchy
- class \Drupal\core_event_dispatcher\Event\Theme\AbstractThemeSuggestionsEvent extends \Symfony\Component\EventDispatcher\Event implements EventInterface
- class \Drupal\core_event_dispatcher\Event\Theme\ThemeSuggestionsAlterIdEvent
Expanded class hierarchy of ThemeSuggestionsAlterIdEvent
1 file declares its use of ThemeSuggestionsAlterIdEvent
- core_event_dispatcher.module in modules/
core_event_dispatcher/ core_event_dispatcher.module - Core event dispatcher submodule.
File
- modules/
core_event_dispatcher/ src/ Event/ Theme/ ThemeSuggestionsAlterIdEvent.php, line 8
Namespace
Drupal\core_event_dispatcher\Event\ThemeView source
class ThemeSuggestionsAlterIdEvent extends AbstractThemeSuggestionsEvent {
/**
* Returns the hook dispatcher type.
*
* @return string
* Dispatcher type.
*/
public function getDispatcherType() : string {
return 'hook_event_dispatcher.theme.suggestions_' . $this
->getHook() . '_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. | |
ThemeSuggestionsAlterIdEvent:: |
public | function |
Returns the hook dispatcher type. Overrides EventInterface:: |