[TASK] Cleanup navigation frame module registration
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5
6 // Register file_navframe
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
8 'file_navframe',
9 'EXT:backend/Modules/FileSystemNavigationFrame/'
10 );
11
12 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
13 'web',
14 'layout',
15 'top',
16 'EXT:backend/Modules/Layout/',
17 array(
18 'script' => '_DISPATCH',
19 'access' => 'user,group',
20 'name' => 'web_layout',
21 'labels' => array(
22 'tabs_images' => array(
23 'tab' => 'EXT:backend/Resources/Public/Icons/module-page.svg',
24 ),
25 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf',
26 ),
27 )
28 );
29
30 // Register BackendLayoutDataProvider for PageTs
31 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['pagets'] = \TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider::class;
32 }