[!!!][FEATURE] FormEngine element level refactoring
[Packages/TYPO3.CMS.git] / typo3 / sysext / filemetadata / Configuration / TCA / Overrides / sys_file_metadata.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 $tca = [
5 'ctrl' => [
6 'type' => 'file:type',
7 ],
8 'types' => [
9 TYPO3\CMS\Core\Resource\File::FILETYPE_UNKNOWN => [
10 'showitem' => '
11 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
12 fileinfo, title, description, ranking, keywords,
13 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;25,
14 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
15 creator, creator_tool, publisher, source, copyright,
16 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
17 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
18 --palette--;;language,
19 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
20 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
21 fe_groups,
22 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
23 categories,
24 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
25 ',
26 ],
27 TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [
28 'showitem' => '
29 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
30 fileinfo, title, description, ranking, keywords,
31 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;25,
32 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
33 creator, creator_tool, publisher, source, copyright, language,
34 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
35 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
36 --palette--;;language,
37 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
38 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
39 fe_groups,
40 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
41 categories,
42 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
43 ',
44 ],
45 TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
46 'showitem' => '
47 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
48 fileinfo, title, description, ranking, keywords,
49 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;20,
50 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
51 creator, creator_tool, publisher, source, copyright, language,
52 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
53 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.gps;30,
54 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
55 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.camera,
56 color_space,
57 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.metrics;50,
58 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
59 --palette--;;language,
60 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
61 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
62 fe_groups,
63 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
64 categories,
65 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
66 ',
67 ],
68 TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
69 'showitem' => '
70 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
71 fileinfo, title, description, ranking, keywords,
72 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;25,
73 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
74 creator, creator_tool, publisher, source, copyright, language,
75 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
76 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.audio,
77 duration,
78 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
79 --palette--;;language,
80 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
81 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
82 fe_groups,
83 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
84 categories,
85 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
86 ',
87 ],
88 TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => [
89 'showitem' => '
90 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
91 fileinfo, title, description, ranking, keywords,
92 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;25,
93 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
94 creator, creator_tool, publisher, source, copyright, language,
95 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
96 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.video,
97 duration,
98 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
99 --palette--;;language,
100 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
101 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
102 fe_groups,
103 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
104 categories,
105 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
106 ',
107 ],
108 TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
109 'showitem' => '
110 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
111 fileinfo, title, description, ranking, keywords,
112 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.accessibility;25,
113 --div--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:tabs.metadata,
114 creator, creator_tool, publisher, source, copyright, language,
115 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.geo_location;40,
116 pages,
117 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.metrics;50,
118 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.content_date;60,
119 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
120 --palette--;;language,
121 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
122 --palette--;LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:palette.visibility;10,
123 fe_groups,
124 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
125 categories,
126 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
127 ',
128 ],
129 ],
130 'palettes' => [
131 '10' => [
132 'showitem' => 'visible, status',
133 ],
134 '20' => [
135 'showitem' => 'alternative, --linebreak--, caption, --linebreak--, download_name',
136 ],
137 '25' => [
138 'showitem' => 'caption, --linebreak--, download_name',
139 ],
140 '30' => [
141 'showitem' => 'latitude, longitude',
142 ],
143 '40' => [
144 'showitem' => 'location_country, location_region, location_city',
145 ],
146 '50' => [
147 'showitem' => 'width, height, unit',
148 ],
149 '60' => [
150 'showitem' => 'content_creation_date, content_modification_date',
151 ],
152 ],
153 'columns' => [
154 'visible' => [
155 'exclude' => true,
156 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.visible',
157 'config' => [
158 'type' => 'check',
159 'default' => '1'
160 ],
161 ],
162 'status' => [
163 'exclude' => true,
164 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.status',
165 'config' => [
166 'type' => 'select',
167 'renderType' => 'selectSingle',
168 'items' => [
169 [
170 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.status.1',
171 1,
172 'filemetadata-status-1'
173 ],
174 [
175 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.status.2',
176 2,
177 'filemetadata-status-2'
178 ],
179 [
180 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.status.3',
181 3,
182 'filemetadata-status-3'
183 ],
184 ],
185 'fieldWizard' => [
186 'selectIcons' => [
187 'disabled' => false,
188 ],
189 ],
190 ],
191 ],
192 'keywords' => [
193 'exclude' => true,
194 'l10n_mode' => 'prefixLangTitle',
195 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.keywords',
196 'config' => [
197 'type' => 'text',
198 'cols' => 40,
199 'rows' => 3,
200 'placeholder' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:placeholder.keywords'
201 ],
202 ],
203 'caption' => [
204 'exclude' => true,
205 'l10n_mode' => 'prefixLangTitle',
206 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.caption',
207 'config' => [
208 'type' => 'text',
209 'cols' => 40,
210 'rows' => 3,
211 ],
212 ],
213 'creator_tool' => [
214 'exclude' => true,
215 'l10n_mode' => 'exclude',
216 'l10n_display' => 'defaultAsReadonly',
217 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.creator_tool',
218 'config' => [
219 'type' => 'input',
220 'size' => 20,
221 'eval' => 'trim'
222 ],
223 ],
224 'download_name' => [
225 'exclude' => true,
226 'l10n_mode' => 'exclude',
227 'l10n_display' => 'defaultAsReadonly',
228 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.download_name',
229 'config' => [
230 'type' => 'input',
231 'size' => 30,
232 'eval' => 'trim'
233 ],
234 ],
235 'creator' => [
236 'exclude' => true,
237 'l10n_mode' => 'exclude',
238 'l10n_display' => 'defaultAsReadonly',
239 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.creator',
240 'config' => [
241 'type' => 'input',
242 'size' => 30,
243 'eval' => 'trim'
244 ],
245 ],
246 'publisher' => [
247 'exclude' => true,
248 'l10n_mode' => 'exclude',
249 'l10n_display' => 'defaultAsReadonly',
250 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.publisher',
251 'config' => [
252 'type' => 'input',
253 'size' => 20,
254 'eval' => 'trim'
255 ],
256 ],
257 'source' => [
258 'exclude' => true,
259 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.source',
260 'config' => [
261 'type' => 'input',
262 'size' => 20,
263 'eval' => 'trim'
264 ],
265 ],
266 'copyright' => [
267 'exclude' => true,
268 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.copyright',
269 'config' => [
270 'type' => 'text',
271 'cols' => 40,
272 'rows' => 3,
273 ],
274 ],
275 'location_country' => [
276 'exclude' => true,
277 'l10n_display' => '',
278 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_country',
279 'config' => [
280 'type' => 'input',
281 'size' => 20,
282 'eval' => 'trim'
283 ],
284 ],
285 'location_region' => [
286 'exclude' => true,
287 'l10n_display' => '',
288 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_region',
289 'config' => [
290 'type' => 'input',
291 'size' => 20,
292 'eval' => 'trim'
293 ],
294 ],
295 'location_city' => [
296 'exclude' => true,
297 'l10n_display' => '',
298 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_city',
299 'config' => [
300 'type' => 'input',
301 'size' => 20,
302 'eval' => 'trim'
303 ],
304 ],
305 'latitude' => [
306 'exclude' => true,
307 'l10n_mode' => 'exclude',
308 'l10n_display' => 'defaultAsReadonly',
309 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.latitude',
310 'config' => [
311 'type' => 'input',
312 'size' => 20,
313 'eval' => 'trim',
314 'max' => 30,
315 'default' => '0.00000000000000'
316 ],
317 ],
318 'longitude' => [
319 'exclude' => true,
320 'l10n_mode' => 'exclude',
321 'l10n_display' => 'defaultAsReadonly',
322 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.longitude',
323 'config' => [
324 'type' => 'input',
325 'size' => 20,
326 'eval' => 'trim',
327 'max' => 30,
328 'default' => '0.00000000000000'
329 ],
330 ],
331 'ranking' => [
332 'exclude' => true,
333 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.ranking',
334 'config' => [
335 'type' => 'select',
336 'renderType' => 'selectSingle',
337 'minitems' => 1,
338 'maxitems' => 1,
339 'items' => [
340 [0, 0],
341 [1, 1],
342 [2, 2],
343 [3, 3],
344 [4, 4],
345 [5, 5],
346 ],
347 ],
348 ],
349 'content_creation_date' => [
350 'exclude' => true,
351 'l10n_mode' => 'exclude',
352 'l10n_display' => 'defaultAsReadonly',
353 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.content_creation_date',
354 'config' => [
355 'type' => 'input',
356 'renderType' => 'inputDateTime',
357 'eval' => 'date',
358 'default' => time()
359 ],
360 ],
361 'content_modification_date' => [
362 'exclude' => true,
363 'l10n_mode' => 'exclude',
364 'l10n_display' => 'defaultAsReadonly',
365 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.content_modification_date',
366 'config' => [
367 'type' => 'input',
368 'renderType' => 'inputDateTime',
369 'eval' => 'date',
370 'default' => time()
371 ],
372 ],
373 'note' => [
374 'exclude' => true,
375 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.note',
376 'config' => [
377 'type' => 'text',
378 'cols' => 40,
379 'rows' => 15,
380 'eval' => 'trim'
381 ],
382 ],
383 /*
384 * METRICS ###########################################
385 */
386 'unit' => [
387 'exclude' => true,
388 'l10n_mode' => 'exclude',
389 'l10n_display' => 'defaultAsReadonly',
390 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit',
391 'config' => [
392 'type' => 'select',
393 'renderType' => 'selectSingle',
394 'items' => [
395 ['', ''],
396 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.px', 'px'],
397 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.cm', 'cm'],
398 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.in', 'in'],
399 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.mm', 'mm'],
400 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.m', 'm'],
401 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.p', 'p'],
402 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.pt', 'pt']
403 ],
404 'default' => '',
405 'readOnly' => true,
406 ],
407 ],
408 'duration' => [
409 'exclude' => true,
410 'l10n_mode' => 'exclude',
411 'l10n_display' => 'defaultAsReadonly',
412 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.duration',
413 'config' => [
414 'type' => 'input',
415 'size' => 10,
416 'max' => 20,
417 'eval' => 'int',
418 'default' => 0
419 ]
420 ],
421 'color_space' => [
422 'exclude' => true,
423 'l10n_mode' => 'exclude',
424 'l10n_display' => 'defaultAsReadonly',
425 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space',
426 'config' => [
427 'type' => 'select',
428 'renderType' => 'selectSingle',
429 'items' => [
430 ['', ''],
431 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.RGB', 'RGB'],
432 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.sRGB', 'sRGB'],
433 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.CMYK', 'CMYK'],
434 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.CMY', 'CMY'],
435 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.YUV', 'YUV'],
436 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.grey', 'grey'],
437 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.indx', 'indx'],
438 ],
439 'default' => '',
440 'readOnly' => true,
441 ]
442 ],
443 'width' => [
444 'exclude' => true,
445 'l10n_mode' => 'exclude',
446 'l10n_display' => 'defaultAsReadonly',
447 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.width',
448 'config' => [
449 'type' => 'input',
450 'size' => 10,
451 'max' => 20,
452 'eval' => 'int',
453 'default' => 0,
454 'readOnly' => true,
455 ],
456 ],
457 'height' => [
458 'exclude' => true,
459 'l10n_mode' => 'exclude',
460 'l10n_display' => 'defaultAsReadonly',
461 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.height',
462 'config' => [
463 'type' => 'input',
464 'size' => 10,
465 'max' => 20,
466 'eval' => 'int',
467 'default' => 0,
468 'readOnly' => true,
469 ],
470 ],
471 'pages' => [
472 'exclude' => true,
473 'l10n_mode' => 'exclude',
474 'l10n_display' => 'defaultAsReadonly',
475 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.pages',
476 'config' => [
477 'type' => 'input',
478 'size' => 30,
479 'eval' => 'trim',
480 'readOnly' => true
481 ],
482 ],
483 'language' => [
484 'exclude' => true,
485 'l10n_mode' => 'exclude',
486 'l10n_display' => 'defaultAsReadonly',
487 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.language',
488 'config' => [
489 'type' => 'input',
490 'size' => 30,
491 'eval' => 'trim'
492 ]
493 ],
494 'fe_groups' => [
495 'exclude' => true,
496 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.fe_group',
497 'config' => [
498 'type' => 'select',
499 'renderType' => 'selectMultipleSideBySide',
500 'size' => 5,
501 'maxitems' => 20,
502 'items' => [
503 [
504 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
505 -1
506 ],
507 [
508 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
509 -2
510 ],
511 [
512 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
513 '--div--'
514 ]
515 ],
516 'exclusiveKeys' => '-1,-2',
517 'foreign_table' => 'fe_groups',
518 'foreign_table_where' => 'ORDER BY fe_groups.title'
519 ]
520 ],
521 ],
522 ];
523
524 $GLOBALS['TCA']['sys_file_metadata'] = array_replace_recursive($GLOBALS['TCA']['sys_file_metadata'], $tca);