[CLEANUP] Remove dividers2tabs functionality
[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 'requestUpdate' => 'driver',
17 'iconfile' => '_icon_ftp.gif',
18 'searchFields' => 'name,description'
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_default' => array(
59 'exclude' => 0,
60 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_default',
61 'config' => array(
62 'type' => 'check',
63 'default' => 0,
64 'eval' => 'maximumRecordsChecked',
65 'validation' => array(
66 'maximumRecordsChecked' => 1
67 )
68 )
69 ),
70 'is_public' => array(
71 'exclude' => 0,
72 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_public',
73 'config' => array(
74 'default' => TRUE,
75 'type' => 'user',
76 'userFunc' => 'typo3/sysext/core/Classes/Resource/Service/UserStorageCapabilityService.php:TYPO3\CMS\Core\Resource\Service\UserStorageCapabilityService->renderIsPublic',
77 )
78 ),
79 'is_writable' => array(
80 'exclude' => 0,
81 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_writable',
82 'config' => array(
83 'type' => 'check',
84 'default' => 1
85 )
86 ),
87 'is_online' => array(
88 'exclude' => 0,
89 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.is_online',
90 'config' => array(
91 'type' => 'check',
92 'default' => 1
93 )
94 ),
95 'processingfolder' => array(
96 'exclude' => 0,
97 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.processingfolder',
98 'config' => array(
99 'type' => 'input',
100 'placeholder' => \TYPO3\CMS\Core\Resource\ResourceStorage::DEFAULT_ProcessingFolder,
101 'size' => '20'
102 )
103 ),
104 'driver' => array(
105 'exclude' => 0,
106 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.driver',
107 'config' => array(
108 'type' => 'select',
109 'items' => array(),
110 'default' => 'Local',
111 'onChange' => 'reload'
112 )
113 ),
114 'configuration' => array(
115 'exclude' => 0,
116 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_storage.configuration',
117 'config' => array(
118 'type' => 'flex',
119 'ds_pointerField' => 'driver',
120 'ds' => array()
121 ),
122 )
123 ),
124 'types' => array(
125 '0' => array('showitem' => 'name, description, hidden, --div--;Configuration, driver, configuration, is_default, processingfolder, --div--;Access, --palette--;Capabilities;capabilities, is_online')
126 ),
127 'palettes' => array(
128 'capabilities' => array('showitem' => 'is_browsable, is_public, is_writable', 'canNotCollapse' => TRUE)
129 )
130 );