[TASK] Unify references for backend modules icons
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 // Register report module additions
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = \TYPO3\CMS\Install\Report\InstallStatusReport::class;
7 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = \TYPO3\CMS\Install\Report\SecurityStatusReport::class;
8
9 // Only add the environment status report if not in CLI mode
10 if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI) {
11 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
12 }
13
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
15 'system',
16 'extinstall',
17 '',
18 '',
19 array(
20 'routeTarget' => \TYPO3\CMS\Install\Controller\BackendModuleController::class . '::index',
21 'access' => 'admin',
22 'name' => 'system_extinstall',
23 'icon' => 'EXT:install/Resources/Public/Icons/module-install.svg',
24 'labels' => array(
25 'll_ref' => 'LLL:EXT:install/Resources/Private/Language/BackendModule.xlf',
26 ),
27 )
28 );
29 }