diff --git a/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php b/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php index ed6275cf6060f2333fd147eb9dac134e432ee67b..50c9e324089982b0da68da5d469123eff46315d6 100644 --- a/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php +++ b/typo3/sysext/lowlevel/Classes/Controller/ConfigurationController.php @@ -17,6 +17,7 @@ namespace TYPO3\CMS\Lowlevel\Controller; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; +use TYPO3\CMS\Backend\Configuration\SiteTcaConfiguration; use TYPO3\CMS\Backend\Routing\Router; use TYPO3\CMS\Backend\Template\ModuleTemplate; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; @@ -113,6 +114,10 @@ class ConfigurationController 'label' => 'httpMiddlewareStacks', 'type' => 'httpMiddlewareStacks', ], + 'siteConfiguration' => [ + 'label' => 'siteConfiguration', + 'type' => 'siteConfiguration', + ], ]; /** @@ -238,6 +243,8 @@ class ConfigurationController // reversing the array allows the admin to read the stack from top to bottom $renderArray[$stackName] = array_reverse($stackResolver->resolve($stackName)); } + } elseif ($selectedTreeDetails['type'] === 'siteConfiguration') { + $renderArray = GeneralUtility::makeInstance(SiteTcaConfiguration::class)->getTca(); } else { throw new \RuntimeException('Unknown array type "' . $selectedTreeDetails['type'] . '"', 1507845662); } diff --git a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf index ed3952833b16bcc9f0d35d4a459341cc82cb23a4..93ca8c8bdbc8f0993fad9149de474cc9fd106e53 100644 --- a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf @@ -36,6 +36,9 @@ <trans-unit id="httpMiddlewareStacks"> <source>HTTP Middlewares (PSR-15)</source> </trans-unit> + <trans-unit id="siteConfiguration"> + <source>Site Configuration</source> + </trans-unit> <trans-unit id="t3services"> <source>$GLOBALS['T3_SERVICES'] (Registered Services)</source> </trans-unit>