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