public function FakePreprocessEventFactory::__construct in Hook Event Dispatcher 8
FakePreprocessEventFactory constructor.
Parameters
string $hook: Fake hook.
File
- tests/
src/ Unit/ Preprocess/ Helpers/ FakePreprocessEventFactory.php, line 27
Class
- FakePreprocessEventFactory
- Class FakePreprocessEventFactory.
Namespace
Drupal\Tests\hook_event_dispatcher\Unit\Preprocess\HelpersCode
public function __construct($hook) {
$this->hook = $hook;
}