From 9f178a59fc2a947d084731b1355cc2f66833a51e Mon Sep 17 00:00:00 2001 From: Sebastian Schreiber Date: Thu, 7 Jan 2021 16:17:11 +0100 Subject: [PATCH] [TASK] Register implementation with container Resolves: #24 --- ext_localconf.php | 2 ++ ext_typoscript_setup.txt | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 ext_typoscript_setup.txt diff --git a/ext_localconf.php b/ext_localconf.php index c4231e84..bb505286 100755 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -115,3 +115,5 @@ } } ')); + +\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class)->registerImplementation(\TYPO3\CMS\Extbase\Persistence\QueryResultInterface::class, \Bzga\BzgaBeratungsstellensuche\Persistence\QueryResult::class); diff --git a/ext_typoscript_setup.txt b/ext_typoscript_setup.txt deleted file mode 100644 index 538ba98d..00000000 --- a/ext_typoscript_setup.txt +++ /dev/null @@ -1,7 +0,0 @@ -config.tx_extbase { - objects { - TYPO3\CMS\Extbase\Persistence\QueryResultInterface { - className = Bzga\BzgaBeratungsstellensuche\Persistence\QueryResult - } - } -}