‪TYPO3CMS  ‪main
sys_workspace.php
Go to the documentation of this file.
1 <?php
2 
3 return [
4  'ctrl' => [
5  'label' => 'title',
6  'tstamp' => 'tstamp',
7  'title' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace',
8  'descriptionColumn' => 'description',
9  'adminOnly' => true,
10  'rootLevel' => 1,
11  'groupName' => 'system',
12  'delete' => 'deleted',
13  'typeicon_classes' => [
14  'default' => 'mimetypes-x-sys_workspace',
15  ],
16  'versioningWS_alwaysAllowLiveEdit' => true,
17  ],
18  'columns' => [
19  'title' => [
20  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.title',
21  'config' => [
22  'type' => 'input',
23  'size' => 20,
24  'max' => 30,
25  'required' => true,
26  'eval' => 'trim,unique',
27  ],
28  ],
29  'description' => [
30  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.description',
31  'config' => [
32  'type' => 'text',
33  'rows' => 5,
34  'cols' => 30,
35  ],
36  ],
37  'adminusers' => [
38  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.adminusers',
39  'config' => [
40  'type' => 'group',
41  'allowed' => 'be_users,be_groups',
42  'prepend_tname' => true,
43  'size' => 3,
44  'maxitems' => 10,
45  'autoSizeMax' => 10,
46  ],
47  ],
48  'members' => [
49  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.members',
50  'config' => [
51  'type' => 'group',
52  'allowed' => 'be_users,be_groups',
53  'prepend_tname' => true,
54  'size' => 3,
55  'maxitems' => 100,
56  'autoSizeMax' => 10,
57  ],
58  ],
59  'db_mountpoints' => [
60  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:db_mountpoints',
61  'config' => [
62  'type' => 'group',
63  'allowed' => 'pages',
64  'size' => 3,
65  'maxitems' => 100,
66  'autoSizeMax' => 10,
67  ],
68  ],
69  'file_mountpoints' => [
70  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:file_mountpoints',
71  'config' => [
72  'type' => 'select',
73  'renderType' => 'selectCheckBox',
74  'foreign_table' => 'sys_filemounts',
75  'size' => 3,
76  'maxitems' => 100,
77  'autoSizeMax' => 10,
78  ],
79  ],
80  'publish_time' => [
81  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_time',
82  'config' => [
83  'type' => 'datetime',
84  'default' => 0,
85  ],
86  ],
87  'freeze' => [
88  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.freeze',
89  'config' => [
90  'type' => 'check',
91  'renderType' => 'checkboxToggle',
92  'default' => 0,
93  ],
94  ],
95  'live_edit' => [
96  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.live_edit',
97  'config' => [
98  'type' => 'check',
99  'renderType' => 'checkboxToggle',
100  'default' => 0,
101  ],
102  ],
103  'publish_access' => [
104  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access',
105  'config' => [
106  'type' => 'check',
107  'items' => [
108  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.1'],
109  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.2'],
110  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.3'],
111  ],
112  ],
113  ],
114  'previewlink_lifetime' => [
115  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.previewlink_lifetime',
116  'config' => [
117  'type' => 'number',
118  'size' => 10,
119  'default' => 48,
120  ],
121  ],
122  'stagechg_notification' => [
123  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification',
124  'config' => [
125  'type' => 'select',
126  'renderType' => 'selectSingle',
127  'items' => [
128  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.0', 'value' => 0],
129  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.1', 'value' => 1],
130  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.10', 'value' => 10],
131  ],
132  ],
133  ],
134  'custom_stages' => [
135  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.custom_stages',
136  'config' => [
137  'type' => 'inline',
138  'foreign_table' => 'sys_workspace_stage',
139  'appearance' => [
140  'useSortable' => true,
141  'expandSingle' => true,
142  ],
143  'foreign_field' => 'parentid',
144  ],
145  'default' => 0,
146  ],
147  'edit_notification_defaults' => [
148  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
149  'config' => [
150  'type' => 'group',
151  'allowed' => 'be_users,be_groups',
152  'prepend_tname' => true,
153  'size' => 3,
154  'maxitems' => 100,
155  'autoSizeMax' => 20,
156  ],
157  ],
158  'edit_allow_notificaton_settings' => [
159  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
160  'config' => [
161  'type' => 'check',
162  'items' => [
163  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
164  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
165  ],
166  'default' => 3,
167  'cols' => 1,
168  ],
169  ],
170  'edit_notification_preselection' => [
171  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
172  'config' => [
173  'type' => 'check',
174  'items' => [
175  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
176  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
177  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
178  ],
179  'default' => 2,
180  'cols' => 1,
181  ],
182  ],
183  'publish_notification_defaults' => [
184  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
185  'config' => [
186  'type' => 'group',
187  'allowed' => 'be_users,be_groups',
188  'prepend_tname' => true,
189  'size' => 3,
190  'maxitems' => 100,
191  'autoSizeMax' => 20,
192  ],
193  ],
194  'publish_allow_notificaton_settings' => [
195  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
196  'config' => [
197  'type' => 'check',
198  'items' => [
199  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
200  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
201  ],
202  'default' => 3,
203  'cols' => 1,
204  ],
205  ],
206  'publish_notification_preselection' => [
207  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
208  'config' => [
209  'type' => 'check',
210  'items' => [
211  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
212  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
213  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
214  ],
215  'default' => 1,
216  'cols' => 1,
217  ],
218  ],
219  'execute_notification_defaults' => [
220  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
221  'config' => [
222  'type' => 'group',
223  'allowed' => 'be_users,be_groups',
224  'prepend_tname' => true,
225  'size' => 3,
226  'maxitems' => 100,
227  'autoSizeMax' => 20,
228  ],
229  ],
230  'execute_allow_notificaton_settings' => [
231  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
232  'config' => [
233  'type' => 'check',
234  'items' => [
235  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
236  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
237  ],
238  'default' => 3,
239  'cols' => 1,
240  ],
241  ],
242  'execute_notification_preselection' => [
243  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
244  'config' => [
245  'type' => 'check',
246  'items' => [
247  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
248  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
249  ['label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
250  ],
251  'default' => 3,
252  'cols' => 1,
253  ],
254  ],
255  ],
256  'palettes' => [
257  'main' => [
258  'showitem' => 'title,freeze',
259  ],
260  'memberlist' => [
261  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.users',
262  'showitem' => 'adminusers,members',
263  ],
264  'stage.edit' => [
265  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.edit',
266  'showitem' => 'edit_allow_notificaton_settings, edit_notification_preselection,',
267  ],
268  'stage.publish' => [
269  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.publish',
270  'showitem' => 'publish_allow_notificaton_settings, publish_notification_preselection,',
271  ],
272  'stage.execute' => [
273  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.execute',
274  'showitem' => 'execute_allow_notificaton_settings, execute_notification_preselection,',
275  ],
276  ],
277  'types' => [
278  '0' => ['showitem' => '
279  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
280  --palette--;;main,
281  stagechg_notification,
282  --palette--;;memberlist,
283  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.internal_stages,
284  --palette--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings,
285  --palette--;;stage.edit, edit_notification_defaults,
286  --palette--;;stage.publish, publish_notification_defaults,
287  --palette--;;stage.execute, execute_notification_defaults,
288  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.custom_stages,
289  custom_stages,
290  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.mountpoints,
291  db_mountpoints,file_mountpoints,
292  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.publish_access,
293  previewlink_lifetime,live_edit,publish_access,publish_time,
294  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
295  description,
296  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
297  '],
298  ],
299 ];