[BUGFIX] Remove realpath call from unit test bootstrap
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_file_metadata.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file',
5 'label' => 'file',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'type' => 'type',
10 'hideTable' => TRUE,
11 'rootLevel' => TRUE,
12 'versioningWS' => TRUE,
13 'origUid' => 't3_origuid',
14 'default_sortby' => 'ORDER BY crdate DESC',
15 'dividers2tabs' => TRUE,
16 'typeicon_column' => '__row|file|type',
17 'typeicon_classes' => array(
18 '1' => 'mimetypes-text-text',
19 '2' => 'mimetypes-media-image',
20 '3' => 'mimetypes-media-audio',
21 '4' => 'mimetypes-media-video',
22 '5' => 'mimetypes-application',
23 'default' => 'mimetypes-other-other'
24 ),
25 'security' => array(
26 'ignoreWebMountRestriction' => TRUE,
27 'ignoreRootLevelRestriction' => TRUE,
28 ),
29 ),
30 'interface' => array(
31 'showRecordFieldList' => 'file, title, description, alternative'
32 ),
33 'columns' => array(
34 't3ver_label' => array(
35 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
36 'config' => array(
37 'type' => 'input',
38 'size' => '30',
39 'max' => '30'
40 )
41 ),
42 'fileinfo' => array(
43 'config' => array(
44 'type' => 'user',
45 'userFunc' => 'typo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php:TYPO3\CMS\Core\Resource\Hook\FileInfoHook->renderFileMetadataInfo'
46 )
47 ),
48 'file' => array(
49 'exclude' => 0,
50 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file',
51 'config' => array(
52 'readOnly' => 1,
53 'type' => 'select',
54 'foreign_table' => 'sys_file',
55 'minitems' => 1,
56 'maxitems' => 1,
57 'size' => 1,
58 )
59 ),
60 'title' => array(
61 'exclude' => 1,
62 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file.title',
63 'config' => array(
64 'type' => 'input',
65 'size' => '30',
66 'placeholder' => '__row|file|name'
67 )
68 ),
69 'description' => array(
70 'exclude' => 0,
71 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file.description',
72 'config' => array(
73 'type' => 'text',
74 'cols' => '40',
75 'rows' => '3'
76 )
77 ),
78 'alternative' => array(
79 'exclude' => 0,
80 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file.alternative',
81 'config' => array(
82 'type' => 'text',
83 'cols' => '40',
84 'rows' => '3'
85 )
86 ),
87 ),
88 'types' => array(
89 '1' => array('showitem' => 'fileinfo, title, description, alternative')
90 ),
91 'palettes' => array()
92 );