public function FakePreprocessEventFactory::getEventHook in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 modules/preprocess_event_dispatcher/tests/src/Unit/Helpers/FakePreprocessEventFactory.php \Drupal\Tests\preprocess_event_dispatcher\Unit\Helpers\FakePreprocessEventFactory::getEventHook()
Get the Event hook name.
Return value
string The hook name.
Overrides PreprocessEventFactoryInterface::getEventHook
File
- modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ Helpers/ FakePreprocessEventFactory.php, line 46
Class
- FakePreprocessEventFactory
- Class FakePreprocessEventFactory.
Namespace
Drupal\Tests\preprocess_event_dispatcher\Unit\HelpersCode
public function getEventHook() : string {
return $this->hook;
}