‪TYPO3CMS  9.5
backend_layout.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout',
5  'label' => 'title',
6  'descriptionColumn' => 'description',
7  'tstamp' => 'tstamp',
8  'crdate' => 'crdate',
9  'cruser_id' => 'cruser_id',
10  'versioningWS' => true,
11  'origUid' => 't3_origuid',
12  'sortby' => 'sorting',
13  'delete' => 'deleted',
14  'enablecolumns' => [
15  'disabled' => 'hidden'
16  ],
17  'typeicon_classes' => [
18  'default' => 'mimetypes-x-backend_layout'
19  ],
20  'selicon_field' => 'icon'
21  ],
22  'interface' => [
23  'showRecordFieldList' => 'title,config,description,hidden,icon'
24  ],
25  'columns' => [
26  'title' => [
27  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.title',
28  'config' => [
29  'type' => 'input',
30  'size' => 25,
31  'max' => 255,
32  'eval' => 'required'
33  ]
34  ],
35  'description' => [
36  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.description',
37  'config' => [
38  'type' => 'text',
39  'rows' => 5,
40  'cols' => 25
41  ]
42  ],
43  'config' => [
44  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.config',
45  'config' => [
46  'type' => 'text',
47  'renderType' => 'belayoutwizard',
48  ]
49  ],
50  'hidden' => [
51  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled',
52  'exclude' => true,
53  'config' => [
54  'type' => 'check',
55  'renderType' => 'checkboxToggle',
56  'default' => 0,
57  'items' => [
58  [
59  0 => '',
60  1 => '',
61  'invertStateDisplay' => true,
62  ],
63  ],
64  ],
65  ],
66  'icon' => [
67  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.icon',
68  'exclude' => true,
70  'icon',
71  [
72  'maxitems' => 1,
73  'appearance' => [
74  'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
75  ],
76  ],
77  ‪$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
78  )
79  ]
80  ],
81  'types' => [
82  '1' => [
83  'showitem' => '
84  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
85  title,icon,config,
86  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
87  hidden,
88  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
89  description,
90  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
91  ',
92  ],
93  ]
94 ];
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\getFileFieldTCAConfig
‪static array getFileFieldTCAConfig($fieldName, array $customSettingOverride=[], $allowedFileExtensions='', $disallowedFileExtensions='')
Definition: ExtensionManagementUtility.php:562
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5