[TASK] Remove superfluous indention level in site configuration yaml
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 /**
5 * $GLOBALS['PAGES_TYPES'] defines the various types of pages (field: doktype) the system
6 * can handle and what restrictions may apply to them.
7 * Here you can define which tables are allowed on a certain pagetype (doktype)
8 * NOTE: The 'default' entry in the $GLOBALS['PAGES_TYPES'] array is the 'base' for all
9 * types, and for every type the entries simply overrides the entries in the 'default' type!
10 */
11 $GLOBALS['PAGES_TYPES'] = [
12 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION => [
13 'allowedTables' => '*'
14 ],
15 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => [
16 // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
17 // In CMS context it's NOT a viewable page. Can contain any element.
18 'allowedTables' => '*'
19 ],
20 (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => [
21 // Doktype 255 is a recycle-bin.
22 'allowedTables' => '*'
23 ],
24 'default' => [
25 'allowedTables' => 'pages,sys_category,sys_file_reference,sys_file_collection',
26 'onlyAllowedTables' => false
27 ],
28 ];
29
30 /**
31 * $TBE_MODULES contains the structure of the backend modules as they are
32 * arranged in main- and sub-modules. Every entry in this array represents a
33 * menu item on either first (key) or second level (value from list) in the
34 * left menu in the TYPO3 backend
35 * For information about adding modules to TYPO3 you should consult the
36 * documentation found in "Inside TYPO3"
37 */
38 $GLOBALS['TBE_MODULES'] = [
39 'web' => 'list',
40 'site' => '',
41 'file' => '',
42 'user' => '',
43 'tools' => '',
44 'system' => '',
45 'help' => '',
46 '_configuration' => [
47 'web' => [
48 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_web.xlf',
49 'name' => 'web',
50 'iconIdentifier' => 'module-web'
51 ],
52 'site' => [
53 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_site.xlf',
54 'name' => 'site',
55 'workspaces' => 'online',
56 'iconIdentifier' => 'module-site',
57 ],
58 'file' => [
59 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_file.xlf',
60 'navigationFrameModule' => 'file_navframe',
61 'name' => 'file',
62 'workspaces' => 'online,custom',
63 'iconIdentifier' => 'module-file'
64 ],
65 'user' => [
66 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_usertools.xlf',
67 'name' => 'user',
68 'iconIdentifier' => 'status-user-backend'
69 ],
70 'tools' => [
71 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_admintools.xlf',
72 'name' => 'tools',
73 'iconIdentifier' => 'module-tools'
74 ],
75 'system' => [
76 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_system.xlf',
77 'name' => 'system',
78 'iconIdentifier' => 'module-system'
79 ],
80 'help' => [
81 'labels' => 'LLL:EXT:core/Resources/Private/Language/locallang_mod_help.xlf',
82 'name' => 'help',
83 'iconIdentifier' => 'module-help'
84 ]
85 ]
86 ];
87
88 // Register the page tree core navigation component
89 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', 'TYPO3/CMS/Backend/PageTree/PageTreeElement');
90
91 /**
92 * $TBE_STYLES configures backend styles and colors; Basically this contains
93 * all the values that can be used to create new skins for TYPO3.
94 * For information about making skins to TYPO3 you should consult the
95 * documentation found in "Inside TYPO3"
96 */
97 $GLOBALS['TBE_STYLES'] = [];
98
99 /**
100 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
101 * For information about using the CSH API in TYPO3 you should consult the
102 * documentation found in "Inside TYPO3"
103 */
104 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:core/Resources/Private/Language/locallang_csh_pages.xlf');
105 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:core/Resources/Private/Language/locallang_csh_be_users.xlf');
106 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:core/Resources/Private/Language/locallang_csh_be_groups.xlf');
107 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilem.xlf');
108 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_reference', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilereference.xlf');
109 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_file_storage', 'EXT:core/Resources/Private/Language/locallang_csh_sysfilestorage.xlf');
110 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:core/Resources/Private/Language/locallang_csh_syslang.xlf');
111 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:core/Resources/Private/Language/locallang_csh_sysnews.xlf');
112 // General Core
113 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:core/Resources/Private/Language/locallang_csh_corebe.xlf');