Commit 51c31a91 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Use objectManager to get ConfigurationManager and fix DI

parent 03cec1c7
Pipeline #7059 passed with stages
in 3 minutes and 12 seconds
......@@ -288,7 +288,8 @@ class FeManagerHooks
protected function getTSConfiguration()
// init ConfigurationManager
$configurationManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::class);
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$configurationManager = $objectManager->get(\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::class);
// load complete ts
$tsSettings = $configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment