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