public static function EckEntityPreprocessEvent::getHook in Hook Event Dispatcher 8
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
2 calls to EckEntityPreprocessEvent::getHook()
- EckEntityPreprocessEventFactory::getEventHook in src/
Event/ Preprocess/ Factory/ EckEntityPreprocessEventFactory.php - Get the Event hook name.
- PreprocessEventPassTest::testOverwritingDefaultFactory in tests/
src/ Unit/ Preprocess/ PreprocessEventPassTest.php - Test if we can overwrite a default factory.
File
- src/
Event/ Preprocess/ EckEntityPreprocessEvent.php, line 13
Class
- EckEntityPreprocessEvent
- Class EckEntityPreprocessEvent.
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessCode
public static function getHook() {
return 'eck_entity';
}