c5f30b1674eb30b432418fd260c3ce4c32b862d0
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_file_storage.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage',
5 'label' => 'name',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'default_sortby' => 'ORDER BY name',
10 'delete' => 'deleted',
11 'rootLevel' => TRUE,
12 'versioningWS_alwaysAllowLiveEdit' => TRUE, // Only have LIVE records of file storages
13 'enablecolumns' => array(
14 'disabled' => 'hidden'
15 ),
16 'dividers2tabs' => TRUE,
17 'requestUpdate' => 'driver',
18 'iconfile' => '_icon_ftp.gif',
19 ),
20 'interface' => array(
21 'showRecordFieldList' => 'hidden,name,description,driver,processingfolder,configuration'
22 ),
23 'columns' => array(
24 'hidden' => array(
25 'exclude' => 1,
26 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.hidden',
27 'config' => array(
28 'type' => 'check',
29 'default' => '0'
30 )
31 ),
32 'name' => array(
33 'exclude' => 0,
34 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.name',
35 'config' => array(
36 'type' => 'input',
37 'size' => '30',
38 'eval' => 'required'
39 )
40 ),
41 'description' => array(
42 'exclude' => 0,
43 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.description',
44 'config' => array(
45 'type' => 'text',
46 'cols' => '30',
47 'rows' => '5'
48 )
49 ),
50 'is_browsable' => array(
51 'exclude' => 0,
52 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_browsable',
53 'config' => array(
54 'type' => 'check',
55 'default' => 1
56 )
57 ),
58 'is_public' => array(
59 'exclude' => 0,
60 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_public',
61 'config' => array(
62 'type' => 'check',
63 'default' => 1
64 )
65 ),
66 'is_writable' => array(
67 'exclude' => 0,
68 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_writable',
69 'config' => array(
70 'type' => 'check',
71 'default' => 1
72 )
73 ),
74 'is_online' => array(
75 'exclude' => 0,
76 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_online',
77 'config' => array(
78 'type' => 'check',
79 'default' => 1
80 )
81 ),
82 'processingfolder' => array(
83 'exclude' => 0,
84 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.processingfolder',
85 'config' => array(
86 'type' => 'input',
87 'placeholder' => \TYPO3\CMS\Core\Resource\ResourceStorage::DEFAULT_ProcessingFolder,
88 'size' => '20'
89 )
90 ),
91 'driver' => array(
92 'exclude' => 0,
93 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.driver',
94 'config' => array(
95 'type' => 'select',
96 'items' => array(),
97 'default' => ''
98 )
99 ),
100 'configuration' => array(
101 'exclude' => 0,
102 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.configuration',
103 'config' => array(
104 'type' => 'flex',
105 'ds_pointerField' => 'driver',
106 'ds' => array()
107 ),
108 'displayCond' => 'REC:NEW:false'
109 )
110 ),
111 'types' => array(
112 '0' => array('showitem' => 'name, description, hidden, --div--;Configuration, driver, configuration, processingfolder, --div--;Access, --palette--;Capabilities;capabilities, is_online')
113 ),
114 'palettes' => array(
115 'capabilities' => array('showitem' => 'is_browsable, is_public, is_writable', 'canNotCollapse' => TRUE)
116 )
117 );
118 ?>