TYPO3  7.6
belog/ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // Register backend modules, but not in frontend or within upgrade wizards
5 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
6  // Module Web->Info->Log
7  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
8  'web_info',
9  \TYPO3\CMS\Belog\Module\BackendLogModuleBootstrap::class,
10  null,
11  'Log'
12  );
13 
14  // Module Tools->Log
15  \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
16  'TYPO3.CMS.Belog',
17  'system',
18  'log',
19  '',
20  array(
21  'Tools' => 'index',
22  'WebInfo' => 'index',
23  ),
24  array(
25  'access' => 'admin',
26  'icon' => 'EXT:belog/Resources/Public/Icons/module-belog.svg',
27  'labels' => 'LLL:EXT:belog/Resources/Private/Language/locallang_mod.xlf',
28  )
29  );
30 }