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