From 97b73e074ea94006db70a8f765a4546b3bab3951 Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Tue, 20 Sep 2022 15:14:23 +0200 Subject: [PATCH] [BUGFIX] Inject Context Factory Interface --- Classes/Controller/Backend/ModuleController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Classes/Controller/Backend/ModuleController.php b/Classes/Controller/Backend/ModuleController.php index 33b2cda..862c574 100644 --- a/Classes/Controller/Backend/ModuleController.php +++ b/Classes/Controller/Backend/ModuleController.php @@ -9,6 +9,7 @@ use CodeQ\LinkChecker\Domain\Model\ResultItem; use CodeQ\LinkChecker\Domain\Service\DomainService; use CodeQ\LinkChecker\Domain\Storage\ResultItemStorage; +use Neos\ContentRepository\Domain\Service\ContextFactoryInterface; use Neos\ContentRepository\Exception\NodeException; use Neos\Error\Messages\Message; use Neos\Flow\Annotations as Flow; @@ -73,6 +74,12 @@ class ModuleController extends AbstractModuleController */ protected $setPageTitleForResultItemAction; + /** + * @var ContextFactoryInterface + * @Flow\Inject + */ + protected $contextFactory; + /** * @throws NodeException */