public function UsernamePreprocessEventFactory::getEventHook in Hook Event Dispatcher 8
Get the Event hook name.
Return value
string The hook name.
Overrides PreprocessEventFactoryInterface::getEventHook
File
- src/
Event/ Preprocess/ Factory/ UsernamePreprocessEventFactory.php, line 23
Class
- UsernamePreprocessEventFactory
- Class UsernamePreprocessEventFactory.
Namespace
Drupal\hook_event_dispatcher\Event\Preprocess\FactoryCode
public function getEventHook() {
return UsernamePreprocessEvent::getHook();
}