diff --git a/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php b/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php index 887d1cc0b1baaa93c605e7fbc98b97a4397949d9..77dc5253762abdfc4a26c9271447feb4d4b3d0cf 100644 --- a/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php +++ b/typo3/sysext/lowlevel/Classes/View/ConfigurationView.php @@ -17,6 +17,7 @@ namespace TYPO3\CMS\Lowlevel\View; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use TYPO3\CMS\Backend\Module\BaseScriptClass; +use TYPO3\CMS\Backend\Routing\Router; use TYPO3\CMS\Backend\Template\ModuleTemplate; use TYPO3\CMS\Backend\Utility\BackendUtility; use TYPO3\CMS\Core\Utility\ArrayUtility; @@ -113,7 +114,8 @@ class ConfigurationView extends BaseScriptClass 6 => LocalizationUtility::translate('tbemodulesext', 'lowlevel'), 7 => LocalizationUtility::translate('tbeStyles', 'lowlevel'), 8 => LocalizationUtility::translate('beUser', 'lowlevel'), - 9 => LocalizationUtility::translate('usersettings', 'lowlevel') + 9 => LocalizationUtility::translate('usersettings', 'lowlevel'), + 10 => LocalizationUtility::translate('routes', 'lowlevel') ), 'regexsearch' => '', 'fixedLgd' => '' @@ -191,6 +193,19 @@ class ConfigurationView extends BaseScriptClass ArrayUtility::naturalKeySortRecursive($theVar); $arrayBrowser->varName = '$TYPO3_USER_SETTINGS'; break; + case 10: + $router = GeneralUtility::makeInstance(Router::class); + $routes = $router->getRoutes(); + $theVar = []; + foreach ($routes as $identifier => $route) { + $theVar[$identifier] = [ + 'path' => $route->getPath(), + 'options' => $route->getOptions() + ]; + } + ArrayUtility::naturalKeySortRecursive($theVar); + $arrayBrowser->varName = 'BackendRoutes'; + break; default: $theVar = array(); } diff --git a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf index 13d0e3ec71bea16d43a55e162f3abf68265e5adb..8f9ef319f4de0fe2412b5570794decc83deb9aa5 100644 --- a/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/lowlevel/Resources/Private/Language/locallang.xlf @@ -27,6 +27,9 @@ <trans-unit id="usersettings"> <source>$GLOBALS['TYPO3_USER_SETTINGS'] (User Settings Configuration)</source> </trans-unit> + <trans-unit id="routes"> + <source>Backend Routes</source> + </trans-unit> <trans-unit id="t3services"> <source>$GLOBALS['T3_SERVICES'] (Registered Services)</source> </trans-unit>