TYPO3 CMS  TYPO3_6-2
sys_filemounts.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'label' => 'title',
5  'tstamp' => 'tstamp',
6  'sortby' => 'sorting',
7  'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
8  'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_filemounts',
9  'adminOnly' => 1,
10  'rootLevel' => 1,
11  'delete' => 'deleted',
12  'enablecolumns' => array(
13  'disabled' => 'hidden'
14  ),
15  'iconfile' => '_icon_ftp.gif',
16  'useColumnsForDefaultValues' => 'path,base',
17  'versioningWS_alwaysAllowLiveEdit' => TRUE,
18  'searchFields' => 'title,path'
19  ),
20  'interface' => array(
21  'showRecordFieldList' => 'title,hidden,path,base'
22  ),
23  'columns' => array(
24  'title' => array(
25  'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.title',
26  'config' => array(
27  'type' => 'input',
28  'size' => '20',
29  'max' => '30',
30  'eval' => 'required,trim'
31  )
32  ),
33  'hidden' => array(
34  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
35  'config' => array(
36  'type' => 'check'
37  )
38  ),
39  'base' => array(
40  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.baseStorage',
41  'config' => array(
42  'type' => 'select',
43  'foreign_table' => 'sys_file_storage',
44  'size' => 1,
45  'maxitems' => 1
46  )
47  ),
48  'path' => array(
49  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.folder',
50  'config' => array(
51  'type' => 'select',
52  'items' => array(),
53  'itemsProcFunc' => 'typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php:TYPO3\CMS\Core\Resource\Service\UserFileMountService->renderTceformsSelectDropdown',
54  )
55  )
56  ),
57  'types' => array(
58  '0' => array('showitem' => '--palette--;;mount, base, path')
59  ),
60  'palettes' => array(
61  'mount' => array('showitem' => 'title,hidden', 'canNotCollapse' => 1)
62  ),
63 );