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