public static function EckEntityPreprocessEvent::getHook in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/src/Event/EckEntityPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\EckEntityPreprocessEvent::getHook()
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
2 calls to EckEntityPreprocessEvent::getHook()
- EckEntityPreprocessEventFactory::getEventHook in modules/
preprocess_event_dispatcher/ src/ Factory/ EckEntityPreprocessEventFactory.php - Get the Event hook name.
- PreprocessEventPassTest::testOverwritingDefaultFactory in modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ PreprocessEventPassTest.php - Test if we can overwrite a default factory.
File
- modules/
preprocess_event_dispatcher/ src/ Event/ EckEntityPreprocessEvent.php, line 13
Class
- EckEntityPreprocessEvent
- Class EckEntityPreprocessEvent.
Namespace
Drupal\preprocess_event_dispatcher\EventCode
public static function getHook() : string {
return 'eck_entity';
}