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