‪TYPO3CMS  9.5
sys_file_storage.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage',
5  'label' => 'name',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser_id',
9  'default_sortby' => 'name',
10  'delete' => 'deleted',
11  'descriptionColumn' => 'description',
12  'rootLevel' => 1,
13  'versioningWS_alwaysAllowLiveEdit' => true, // Only have LIVE records of file storages
14  'enablecolumns' => [],
15  'typeicon_classes' => [
16  'default' => 'mimetypes-x-sys_file_storage'
17  ],
18  'searchFields' => 'name,description'
19  ],
20  'interface' => [
21  'showRecordFieldList' => 'name,description,driver,processingfolder,configuration,auto_extract_metadata'
22  ],
23  'columns' => [
24  'name' => [
25  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.name',
26  'config' => [
27  'type' => 'input',
28  'size' => 50,
29  'max' => 255,
30  'eval' => 'required'
31  ]
32  ],
33  'description' => [
34  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.description',
35  'config' => [
36  'type' => 'text',
37  'cols' => 30,
38  'rows' => 5
39  ]
40  ],
41  'is_browsable' => [
42  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_browsable',
43  'config' => [
44  'type' => 'check',
45  'renderType' => 'checkboxToggle',
46  'default' => 1,
47  'items' => [
48  [
49  0 => '',
50  1 => '',
51  ]
52  ],
53  ]
54  ],
55  'is_default' => [
56  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_default',
57  'config' => [
58  'type' => 'check',
59  'renderType' => 'checkboxToggle',
60  'default' => 0,
61  'eval' => 'maximumRecordsChecked',
62  'validation' => [
63  'maximumRecordsChecked' => 1
64  ],
65  'items' => [
66  [
67  0 => '',
68  1 => '',
69  ]
70  ],
71  ]
72  ],
73  'is_public' => [
74  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_public',
75  'config' => [
76  'default' => 1,
77  'type' => 'user',
78  'renderType' => 'userSysFileStorageIsPublic',
79  ]
80  ],
81  'is_writable' => [
82  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_writable',
83  'config' => [
84  'type' => 'check',
85  'renderType' => 'checkboxToggle',
86  'default' => 1,
87  'items' => [
88  [
89  0 => '',
90  1 => '',
91  ]
92  ],
93  ]
94  ],
95  'is_online' => [
96  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_online',
97  'config' => [
98  'type' => 'check',
99  'renderType' => 'checkboxToggle',
100  'default' => 1,
101  'items' => [
102  [
103  0 => '',
104  1 => '',
105  ]
106  ],
107  ]
108  ],
109  'auto_extract_metadata' => [
110  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.auto_extract_metadata',
111  'config' => [
112  'type' => 'check',
113  'renderType' => 'checkboxToggle',
114  'default' => 1,
115  'items' => [
116  [
117  0 => '',
118  1 => '',
119  ]
120  ],
121  ]
122  ],
123  'processingfolder' => [
124  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.processingfolder',
125  'config' => [
126  'type' => 'input',
127  'placeholder' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.processingfolder.placeholder',
128  'size' => 20
129  ]
130  ],
131  'driver' => [
132  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.driver',
133  'onChange' => 'reload',
134  'config' => [
135  'type' => 'select',
136  'renderType' => 'selectSingle',
137  'items' => [],
138  'default' => 'Local',
139  'onChange' => 'reload'
140  ]
141  ],
142  'configuration' => [
143  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.configuration',
144  'config' => [
145  'type' => 'flex',
146  'ds_pointerField' => 'driver',
147  'ds' => []
148  ],
149  ]
150  ],
151  'types' => [
152  '0' => ['showitem' => '
153  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
154  name, driver, configuration, is_default, auto_extract_metadata, processingfolder,
155  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:accesscapabilities,
156  --palette--;Capabilities;capabilities,
157  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
158  is_online,
159  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
160  description,
161  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
162  ']
163  ],
164  'palettes' => [
165  'capabilities' => [
166  'showitem' => 'is_browsable, is_public, is_writable',
167  ],
168  ],
169 ];