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