public function ExamplePreprocessEventFactory::getEventHook in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x examples/preprocess_example_module/src/Factory/ExamplePreprocessEventFactory.php \Drupal\preprocess_example_module\Factory\ExamplePreprocessEventFactory::getEventHook()
Get the Event hook name.
Return value
string The hook name.
Overrides PreprocessEventFactoryInterface::getEventHook
File
- examples/
preprocess_example_module/ src/ Factory/ ExamplePreprocessEventFactory.php, line 33
Class
- ExamplePreprocessEventFactory
- Class ExamplePreprocessEventFactory.
Namespace
Drupal\preprocess_example_module\FactoryCode
public function getEventHook() : string {
return ExamplePreprocessEvent::getHook();
}