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