public function FakePreprocessEventFactory::__construct 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::__construct()
FakePreprocessEventFactory constructor.
Parameters
string $hook: Fake hook.
File
- modules/
preprocess_event_dispatcher/ tests/ src/ Unit/ Helpers/ FakePreprocessEventFactory.php, line 26
Class
- FakePreprocessEventFactory
- Class FakePreprocessEventFactory.
Namespace
Drupal\Tests\preprocess_event_dispatcher\Unit\HelpersCode
public function __construct(string $hook) {
$this->hook = $hook;
}