public static function TaxonomyTermPreprocessEvent::getHook in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/src/Event/TaxonomyTermPreprocessEvent.php \Drupal\preprocess_event_dispatcher\Event\TaxonomyTermPreprocessEvent::getHook()
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
1 call to TaxonomyTermPreprocessEvent::getHook()
- TaxonomyTermPreprocessEventFactory::getEventHook in modules/
preprocess_event_dispatcher/ src/ Factory/ TaxonomyTermPreprocessEventFactory.php - Get the Event hook name.
File
- modules/
preprocess_event_dispatcher/ src/ Event/ TaxonomyTermPreprocessEvent.php, line 13
Class
- TaxonomyTermPreprocessEvent
- Class TaxonomyTermPreprocessEvent.
Namespace
Drupal\preprocess_event_dispatcher\EventCode
public static function getHook() : string {
return 'taxonomy_term';
}