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