TYPO3 CMS  TYPO3_7-6
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 (!defined('TYPO3_cliMode') || !TYPO3_cliMode) {
11  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = \TYPO3\CMS\Install\Report\EnvironmentStatusReport::class;
12  }
13 
14  // Register backend module
16  'TYPO3.CMS.Install',
17  'system',
18  'install', '', [
19  'BackendModule' => 'index, showEnableInstallToolButton, enableInstallTool',
20  ],
21  [
22  'access' => 'admin',
23  'icon' => 'EXT:install/Resources/Public/Icons/module-install.svg',
24  'labels' => 'LLL:EXT:install/Resources/Private/Language/BackendModule.xlf',
25  ]
26  );
27 }
if(!defined("DB_ERROR")) define("DB_ERROR"
static registerModule($extensionName, $mainModuleName='', $subModuleName='', $position='', array $controllerActions=[], array $moduleConfiguration=[])
$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:12