TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
sys_filemounts.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'label' => 'title',
5  'descriptionColumn' => 'description',
6  'tstamp' => 'tstamp',
7  'sortby' => 'sorting',
8  'prependAtCopy' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
9  'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_filemounts',
10  'adminOnly' => true,
11  'rootLevel' => 1,
12  'requestUpdate' => 'base',
13  'delete' => 'deleted',
14  'enablecolumns' => [
15  'disabled' => 'hidden'
16  ],
17  'typeicon_classes' => [
18  'default' => 'mimetypes-x-sys_filemounts'
19  ],
20  'useColumnsForDefaultValues' => 'path,base',
21  'versioningWS_alwaysAllowLiveEdit' => true,
22  'searchFields' => 'title,path'
23  ],
24  'interface' => [
25  'showRecordFieldList' => 'title,hidden,path,base,description'
26  ],
27  'columns' => [
28  'title' => [
29  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_filemounts.title',
30  'config' => [
31  'type' => 'input',
32  'size' => 20,
33  'max' => 30,
34  'eval' => 'required,trim'
35  ]
36  ],
37  'hidden' => [
38  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.disable',
39  'config' => [
40  'type' => 'check'
41  ]
42  ],
43  'description' => [
44  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.description',
45  'config' => [
46  'type' => 'text',
47  'rows' => 5,
48  'cols' => 30,
49  'max' => '2000',
50  ]
51  ],
52  'base' => [
53  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.baseStorage',
54  'config' => [
55  'type' => 'select',
56  'renderType' => 'selectSingle',
57  'foreign_table' => 'sys_file_storage',
58  'allowNonIdValues' => true,
59  'items' => [
60  ['', 0]
61  ],
62  'size' => 1,
63  'maxitems' => 1,
64  'eval' => 'required',
65  'range' => [
66  'lower' => 1,
67  ]
68  ]
69  ],
70  'path' => [
71  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.folder',
72  'displayCond' => 'FIELD:base:>:0',
73  'config' => [
74  'type' => 'select',
75  'renderType' => 'selectSingle',
76  'items' => [],
77  'itemsProcFunc' => 'TYPO3\\CMS\\Core\\Resource\\Service\\UserFileMountService->renderTceformsSelectDropdown',
78  ]
79  ],
80  'read_only' => [
81  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_filemounts.read_only',
82  'config' => [
83  'type' => 'check'
84  ],
85  ],
86  ],
87  'types' => [
88  '0' => ['showitem' => '
89  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
90  title,base, path,read_only,
91  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
92  hidden,
93  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
94  description,
95  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
96  ']
97  ],
98 ];