public static function BlockPreprocessEvent::getHook in Hook Event Dispatcher 8
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
1 call to BlockPreprocessEvent::getHook()
- BlockPreprocessEventFactory::getEventHook in src/
Event/ Preprocess/ Factory/ BlockPreprocessEventFactory.php - Get the Event hook name.
File
- src/
Event/ Preprocess/ BlockPreprocessEvent.php, line 13
Class
- BlockPreprocessEvent
- Class BlockPreprocessEvent.
Namespace
Drupal\hook_event_dispatcher\Event\PreprocessCode
public static function getHook() {
return 'block';
}