TYPO3 CMS  TYPO3_8-7
ext_tables.php
Go to the documentation of this file.
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 
15  'system',
16  'extinstall',
17  '',
18  '',
19  [
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' => 'LLL:EXT:install/Resources/Private/Language/BackendModule.xlf'
25  ]
26  );
27 }
$GLOBALS['TBE_STYLES']['skins']['backend']
Definition: ext_tables.php:5
static addModule($main, $sub='', $position='', $path=null, $moduleConfiguration=[])