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