hook_event_dispatcher-8.x-2.04/modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php
modules/core_event_dispatcher/src/Event/Theme/ThemeSuggestionsAlterIdEvent.php
<?php
namespace Drupal\core_event_dispatcher\Event\Theme;
use Drupal\hook_event_dispatcher\Attribute\HookEvent;
/**
* Class ThemeSuggestionsAlterIdEvent.
*/
#[HookEvent(id: 'theme_suggestions_alter:id', alter: 'theme_suggestions')]
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';
}
}
