f82ca04aff407e82f90820946a4645c9946e4f21
[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 record edit module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
8 'record_edit',
9 'EXT:backend/Modules/FormEngine/'
10 );
11
12 // Register file_navframe
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('file', 'file_navframe');
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
15 'file_navframe',
16 'EXT:backend/Modules/FileSystemNavigationFrame/'
17 );
18
19 // Register tce_db
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
21 'tce_db',
22 'EXT:backend/Modules/File/Database/'
23 );
24
25 // Register tce_file
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
27 'tce_file',
28 'EXT:backend/Modules/File/Administration/'
29 );
30
31 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
32 'web',
33 'layout',
34 'top',
35 'EXT:backend/Modules/Layout/',
36 array(
37 'script' => '_DISPATCH',
38 'access' => 'user,group',
39 'name' => 'web_layout',
40 'labels' => array(
41 'tabs_images' => array(
42 'tab' => 'EXT:backend/Resources/Public/Icons/module-page.svg',
43 ),
44 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf',
45 ),
46 )
47 );
48
49 // Register BackendLayoutDataProvider for PageTs
50 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['BackendLayoutDataProvider']['pagets'] = \TYPO3\CMS\Backend\Provider\PageTsBackendLayoutDataProvider::class;
51 }