public static function UsernamePreprocessEvent::getHook in Hook Event Dispatcher 8
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
1 call to UsernamePreprocessEvent::getHook()
- UsernamePreprocessEventFactory::getEventHook in src/
Event/ Preprocess/ Factory/ UsernamePreprocessEventFactory.php - Get the Event hook name.
File
- src/
Event/ Preprocess/ UsernamePreprocessEvent.php, line 13
Class
- UsernamePreprocessEvent
- Class UsernamePreprocessEvent.
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessCode
public static function getHook() {
return 'username';
}