public function ViewPreprocessEventFactory::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/ ViewPreprocessEventFactory.php, line 23
Class
- ViewPreprocessEventFactory
- Class ViewPreprocessEventFactory.
Namespace
Drupal\hook_event_dispatcher\Event\Preprocess\FactoryCode
public function getEventHook() {
return ViewPreprocessEvent::getHook();
}