8fa1b3c5357d01bd992e71327a272996f6512ddf
[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 'showIconTable' => true,
186 ],
187 ],
188 'keywords' => [
189 'exclude' => true,
190 'l10n_mode' => 'prefixLangTitle',
191 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.keywords',
192 'config' => [
193 'type' => 'text',
194 'cols' => 40,
195 'rows' => 3,
196 'placeholder' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:placeholder.keywords'
197 ],
198 ],
199 'caption' => [
200 'exclude' => true,
201 'l10n_mode' => 'prefixLangTitle',
202 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.caption',
203 'config' => [
204 'type' => 'text',
205 'cols' => 40,
206 'rows' => 3,
207 ],
208 ],
209 'creator_tool' => [
210 'exclude' => true,
211 'l10n_mode' => 'exclude',
212 'l10n_display' => 'defaultAsReadonly',
213 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.creator_tool',
214 'config' => [
215 'type' => 'input',
216 'size' => 20,
217 'eval' => 'trim'
218 ],
219 ],
220 'download_name' => [
221 'exclude' => true,
222 'l10n_mode' => 'exclude',
223 'l10n_display' => 'defaultAsReadonly',
224 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.download_name',
225 'config' => [
226 'type' => 'input',
227 'size' => 30,
228 'eval' => 'trim'
229 ],
230 ],
231 'creator' => [
232 'exclude' => true,
233 'l10n_mode' => 'exclude',
234 'l10n_display' => 'defaultAsReadonly',
235 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.creator',
236 'config' => [
237 'type' => 'input',
238 'size' => 30,
239 'eval' => 'trim'
240 ],
241 ],
242 'publisher' => [
243 'exclude' => true,
244 'l10n_mode' => 'exclude',
245 'l10n_display' => 'defaultAsReadonly',
246 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.publisher',
247 'config' => [
248 'type' => 'input',
249 'size' => 20,
250 'eval' => 'trim'
251 ],
252 ],
253 'source' => [
254 'exclude' => true,
255 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.source',
256 'config' => [
257 'type' => 'input',
258 'size' => 20,
259 'eval' => 'trim'
260 ],
261 ],
262 'copyright' => [
263 'exclude' => true,
264 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.copyright',
265 'config' => [
266 'type' => 'text',
267 'cols' => 40,
268 'rows' => 3,
269 ],
270 ],
271 'location_country' => [
272 'exclude' => true,
273 'l10n_mode' => 'mergeIfNotBlank',
274 'l10n_display' => '',
275 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_country',
276 'config' => [
277 'type' => 'input',
278 'size' => 20,
279 'eval' => 'trim'
280 ],
281 ],
282 'location_region' => [
283 'exclude' => true,
284 'l10n_mode' => 'mergeIfNotBlank',
285 'l10n_display' => '',
286 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_region',
287 'config' => [
288 'type' => 'input',
289 'size' => 20,
290 'eval' => 'trim'
291 ],
292 ],
293 'location_city' => [
294 'exclude' => true,
295 'l10n_mode' => 'mergeIfNotBlank',
296 'l10n_display' => '',
297 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.location_city',
298 'config' => [
299 'type' => 'input',
300 'size' => 20,
301 'eval' => 'trim'
302 ],
303 ],
304 'latitude' => [
305 'exclude' => true,
306 'l10n_mode' => 'exclude',
307 'l10n_display' => 'defaultAsReadonly',
308 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.latitude',
309 'config' => [
310 'type' => 'input',
311 'size' => 20,
312 'eval' => 'trim',
313 'max' => 30,
314 'default' => '0.00000000000000'
315 ],
316 ],
317 'longitude' => [
318 'exclude' => true,
319 'l10n_mode' => 'exclude',
320 'l10n_display' => 'defaultAsReadonly',
321 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.longitude',
322 'config' => [
323 'type' => 'input',
324 'size' => 20,
325 'eval' => 'trim',
326 'max' => 30,
327 'default' => '0.00000000000000'
328 ],
329 ],
330 'ranking' => [
331 'exclude' => true,
332 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.ranking',
333 'config' => [
334 'type' => 'select',
335 'renderType' => 'selectSingle',
336 'minitems' => 1,
337 'maxitems' => 1,
338 'items' => [
339 [0, 0],
340 [1, 1],
341 [2, 2],
342 [3, 3],
343 [4, 4],
344 [5, 5],
345 ],
346 ],
347 ],
348 'content_creation_date' => [
349 'exclude' => true,
350 'l10n_mode' => 'exclude',
351 'l10n_display' => 'defaultAsReadonly',
352 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.content_creation_date',
353 'config' => [
354 'type' => 'input',
355 'size' => 12,
356 'max' => 20,
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 'size' => 12,
369 'max' => 20,
370 'eval' => 'date',
371 'default' => time()
372 ],
373 ],
374 'note' => [
375 'exclude' => true,
376 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.note',
377 'config' => [
378 'type' => 'text',
379 'cols' => 40,
380 'rows' => 15,
381 'eval' => 'trim'
382 ],
383 ],
384 /*
385 * METRICS ###########################################
386 */
387 'unit' => [
388 'exclude' => true,
389 'l10n_mode' => 'exclude',
390 'l10n_display' => 'defaultAsReadonly',
391 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit',
392 'config' => [
393 'type' => 'select',
394 'renderType' => 'selectSingle',
395 'items' => [
396 ['', ''],
397 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.px', 'px'],
398 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.cm', 'cm'],
399 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.in', 'in'],
400 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.mm', 'mm'],
401 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.m', 'm'],
402 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.p', 'p'],
403 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.unit.pt', 'pt']
404 ],
405 'default' => '',
406 'readOnly' => true,
407 ],
408 ],
409 'duration' => [
410 'exclude' => true,
411 'l10n_mode' => 'exclude',
412 'l10n_display' => 'defaultAsReadonly',
413 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.duration',
414 'config' => [
415 'type' => 'input',
416 'size' => 10,
417 'max' => 20,
418 'eval' => 'int',
419 'default' => 0
420 ]
421 ],
422 'color_space' => [
423 'exclude' => true,
424 'l10n_mode' => 'exclude',
425 'l10n_display' => 'defaultAsReadonly',
426 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space',
427 'config' => [
428 'type' => 'select',
429 'renderType' => 'selectSingle',
430 'items' => [
431 ['', ''],
432 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.RGB', 'RGB'],
433 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.sRGB', 'sRGB'],
434 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.CMYK', 'CMYK'],
435 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.CMY', 'CMY'],
436 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.YUV', 'YUV'],
437 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.grey', 'grey'],
438 ['LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.color_space.indx', 'indx'],
439 ],
440 'default' => '',
441 'readOnly' => true,
442 ]
443 ],
444 'width' => [
445 'exclude' => true,
446 'l10n_mode' => 'exclude',
447 'l10n_display' => 'defaultAsReadonly',
448 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.width',
449 'config' => [
450 'type' => 'input',
451 'size' => 10,
452 'max' => 20,
453 'eval' => 'int',
454 'default' => 0,
455 'readOnly' => true,
456 ],
457 ],
458 'height' => [
459 'exclude' => true,
460 'l10n_mode' => 'exclude',
461 'l10n_display' => 'defaultAsReadonly',
462 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.height',
463 'config' => [
464 'type' => 'input',
465 'size' => 10,
466 'max' => 20,
467 'eval' => 'int',
468 'default' => 0,
469 'readOnly' => true,
470 ],
471 ],
472 'pages' => [
473 'exclude' => true,
474 'l10n_mode' => 'exclude',
475 'l10n_display' => 'defaultAsReadonly',
476 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.pages',
477 'config' => [
478 'type' => 'input',
479 'size' => 30,
480 'eval' => 'trim',
481 'readOnly' => true
482 ],
483 ],
484 'language' => [
485 'exclude' => true,
486 'l10n_mode' => 'exclude',
487 'l10n_display' => 'defaultAsReadonly',
488 'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.language',
489 'config' => [
490 'type' => 'input',
491 'size' => 30,
492 'eval' => 'trim'
493 ]
494 ],
495 'fe_groups' => [
496 'exclude' => true,
497 'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.fe_group',
498 'config' => [
499 'type' => 'select',
500 'renderType' => 'selectMultipleSideBySide',
501 'size' => 5,
502 'maxitems' => 20,
503 'items' => [
504 [
505 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hide_at_login',
506 -1
507 ],
508 [
509 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.any_login',
510 -2
511 ],
512 [
513 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.usergroups',
514 '--div--'
515 ]
516 ],
517 'exclusiveKeys' => '-1,-2',
518 'foreign_table' => 'fe_groups',
519 'foreign_table_where' => 'ORDER BY fe_groups.title'
520 ]
521 ],
522 ],
523 ];
524
525 $GLOBALS['TCA']['sys_file_metadata'] = array_replace_recursive($GLOBALS['TCA']['sys_file_metadata'], $tca);