public static function FakePreprocessEvent::getHook in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 3.x modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/FakePreprocessEvent.php \Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers\FakePreprocessEvent::getHook()
Get the hook name.
Return value
string Hook name.
Overrides PreprocessEventInterface::getHook
File
- modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ Helpers/ FakePreprocessEvent.php, line 15
Class
- FakePreprocessEvent
- Class FakePreprocessEvent.
Namespace
Drupal\Tests\preprocess_event_dispatcher\Unit\HelpersCode
public static function getHook() : string {
return '';
}