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