TYPO3  7.6
sys_filemounts.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'label' => 'title',
5  'descriptionColumn' => 'description',
6  'tstamp' => 'tstamp',
7  'sortby' => 'sorting',
8  'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
9  'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_filemounts',
10  'adminOnly' => 1,
11  'rootLevel' => 1,
12  'delete' => 'deleted',
13  'enablecolumns' => array(
14  'disabled' => 'hidden'
15  ),
16  'typeicon_classes' => array(
17  'default' => 'mimetypes-x-sys_filemounts'
18  ),
19  'useColumnsForDefaultValues' => 'path,base',
20  'versioningWS_alwaysAllowLiveEdit' => true,
21  'searchFields' => 'title,path'
22  ),
23  'interface' => array(
24  'showRecordFieldList' => 'title,hidden,path,base,description'
25  ),
26  'columns' => array(
27  'title' => array(
28  'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.title',
29  'config' => array(
30  'type' => 'input',
31  'size' => '20',
32  'max' => '30',
33  'eval' => 'required,trim'
34  )
35  ),
36  'hidden' => array(
37  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
38  'config' => array(
39  'type' => 'check'
40  )
41  ),
42  'description' => array(
43  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
44  'config' => array(
45  'type' => 'text',
46  'rows' => 5,
47  'cols' => 30,
48  'max' => '2000',
49  )
50  ),
51  'base' => array(
52  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.baseStorage',
53  'config' => array(
54  'type' => 'select',
55  'renderType' => 'selectSingle',
56  'foreign_table' => 'sys_file_storage',
57  'size' => 1,
58  'maxitems' => 1
59  )
60  ),
61  'path' => array(
62  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.folder',
63  'config' => array(
64  'type' => 'select',
65  'renderType' => 'selectSingle',
66  'items' => array(),
67  'itemsProcFunc' => 'typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php:TYPO3\CMS\Core\Resource\Service\UserFileMountService->renderTceformsSelectDropdown',
68  )
69  ),
70  'read_only' => array(
71  'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.read_only',
72  'config' => array(
73  'type' => 'check'
74  ),
75  ),
76  ),
77  'types' => array(
78  '0' => array('showitem' => '--palette--;;mount, description, base, path, read_only')
79  ),
80  'palettes' => array(
81  'mount' => array(
82  'showitem' => 'title,hidden',
83  ),
84  ),
85 );