public static function PreprocessEventInterface::getHook in Hook Event Dispatcher 8
Get the hook name.
Return value
string Hook name.
1 call to PreprocessEventInterface::getHook()
- AbstractPreprocessEvent::name in src/
Event/ Preprocess/ AbstractPreprocessEvent.php - Get the Event name.
18 methods override PreprocessEventInterface::getHook()
- BlockPreprocessEvent::getHook in src/
Event/ Preprocess/ BlockPreprocessEvent.php - Get the hook name.
- CommentPreprocessEvent::getHook in src/
Event/ Preprocess/ CommentPreprocessEvent.php - Get the hook name.
- EckEntityPreprocessEvent::getHook in src/
Event/ Preprocess/ EckEntityPreprocessEvent.php - Get the hook name.
- ExamplePreprocessEvent::getHook in src/
Example/ preprocess_example_module/ src/ Event/ ExamplePreprocessEvent.php - Get the hook name.
- FakePreprocessEvent::getHook in tests/
src/ Unit/ Preprocess/ Helpers/ FakePreprocessEvent.php - Get the hook name.
File
- src/
Event/ Preprocess/ PreprocessEventInterface.php, line 18
Class
- PreprocessEventInterface
- Interface PreprocessEventInterface.
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessCode
public static function getHook();