public function HtmlPreprocessEventFactory::getEventHook in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Factory/HtmlPreprocessEventFactory.php \Drupal\preprocess_event_dispatcher\Factory\HtmlPreprocessEventFactory::getEventHook()
Get the Event hook name.
Return value
string The hook name.
Overrides PreprocessEventFactoryInterface::getEventHook
File
- modules/
preprocess_event_dispatcher/ src/ Factory/ HtmlPreprocessEventFactory.php, line 24
Class
- HtmlPreprocessEventFactory
- Class HtmlPreprocessEventFactory.
Namespace
Drupal\preprocess_event_dispatcher\FactoryCode
public function getEventHook() : string {
return HtmlPreprocessEvent::getHook();
}