TYPO3 CMS  TYPO3_7-6
sys_action.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'label' => 'title',
5  'descriptionColumn' => 'description',
6  'tstamp' => 'tstamp',
7  'default_sortby' => 'ORDER BY title',
8  'sortby' => 'sorting',
9  'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
10  'title' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action',
11  'crdate' => 'crdate',
12  'cruser_id' => 'cruser_id',
13  'adminOnly' => 1,
14  'rootLevel' => -1,
15  'setToDefaultOnCopy' => 'assign_to_groups',
16  'enablecolumns' => [
17  'disabled' => 'hidden'
18  ],
19  'typeicon_classes' => [
20  'default' => 'mimetypes-x-sys_action'
21  ],
22  'type' => 'type'
23  ],
24  'interface' => [
25  'showRecordFieldList' => 'hidden,title,type,description,assign_to_groups'
26  ],
27  'columns' => [
28  'title' => [
29  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title',
30  'config' => [
31  'type' => 'input',
32  'size' => '25',
33  'max' => '255',
34  'eval' => 'trim,required'
35  ]
36  ],
37  'description' => [
38  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
39  'config' => [
40  'type' => 'text',
41  'rows' => 10,
42  'cols' => 48
43  ]
44  ],
45  'hidden' => [
46  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.hidden',
47  'config' => [
48  'type' => 'check'
49  ]
50  ],
51  'type' => [
52  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
53  'config' => [
54  'type' => 'select',
55  'renderType' => 'selectSingle',
56  'items' => [
57  ['', '0'],
58  ['LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.1', '1'],
59  ['LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.2', '2'],
60  ['LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.3', '3'],
61  ['LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.4', '4'],
62  ['LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.type.5', '5']
63  ]
64  ]
65  ],
66  'assign_to_groups' => [
67  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.assign_to_groups',
68  'config' => [
69  'type' => 'select',
70  'renderType' => 'selectMultipleSideBySide',
71  'foreign_table' => 'be_groups',
72  'foreign_table_where' => 'ORDER BY be_groups.title',
73  'MM' => 'sys_action_asgr_mm',
74  'size' => '10',
75  'minitems' => '0',
76  'maxitems' => '200',
77  'autoSizeMax' => '10'
78  ]
79  ],
80  't1_userprefix' => [
81  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_userprefix',
82  'config' => [
83  'type' => 'input',
84  'size' => '25',
85  'max' => '10',
86  'eval' => 'trim'
87  ]
88  ],
89  't1_allowed_groups' => [
90  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_allowed_groups',
91  'config' => [
92  'type' => 'select',
93  'renderType' => 'selectMultipleSideBySide',
94  'foreign_table' => 'be_groups',
95  'foreign_table_where' => 'ORDER BY be_groups.title',
96  'size' => '10',
97  'maxitems' => '20',
98  'autoSizeMax' => '10'
99  ]
100  ],
101  't1_create_user_dir' => [
102  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_create_user_dir',
103  'config' => [
104  'type' => 'check'
105  ]
106  ],
107  't1_copy_of_user' => [
108  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t1_copy_of_user',
109  'config' => [
110  'type' => 'group',
111  'internal_type' => 'db',
112  'allowed' => 'be_users',
113  'size' => '1',
114  'maxitems' => '1',
115  'minitems' => '1',
116  'show_thumbs' => '1',
117  'wizards' => [
118  'suggest' => [
119  'type' => 'suggest'
120  ]
121  ]
122  ]
123  ],
124  't3_listPid' => [
125  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t3_listPid',
126  'config' => [
127  'type' => 'group',
128  'internal_type' => 'db',
129  'allowed' => 'pages',
130  'size' => '1',
131  'maxitems' => '1',
132  'minitems' => '1',
133  'show_thumbs' => '1',
134  'wizards' => [
135  'suggest' => [
136  'type' => 'suggest'
137  ]
138  ]
139  ]
140  ],
141  't3_tables' => [
142  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t3_tables',
143  'config' => [
144  'type' => 'select',
145  'renderType' => 'selectSingle',
146  'special' => 'tables',
147  'items' => [
148  ['', '']
149  ]
150  ]
151  ],
152  't4_recordsToEdit' => [
153  'label' => 'LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.t4_recordsToEdit',
154  'config' => [
155  'type' => 'group',
156  'internal_type' => 'db',
157  'allowed' => '*',
158  'prepend_tname' => 1,
159  'size' => '5',
160  'maxitems' => '50',
161  'minitems' => '1',
162  'show_thumbs' => '1',
163  'wizards' => [
164  'suggest' => [
165  'type' => 'suggest'
166  ]
167  ]
168  ]
169  ]
170  ],
171  'types' => [
172  '0' => ['showitem' => '
173  type,
174  title,
175  description,
176  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
177  hidden,
178  assign_to_groups
179  '],
180  '1' => ['showitem' => '
181  type,
182  title,
183  description,
184  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.create_user.settings,
185  t1_userprefix,t1_copy_of_user,
186  t1_allowed_groups,
187  t1_create_user_dir,
188  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
189  hidden,
190  assign_to_groups
191  '],
192  '2' => ['showitem' => '
193  type,
194  title,
195  description,
196  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
197  hidden,
198  assign_to_groups
199  '],
200  '3' => ['showitem' => '
201  type,
202  title,
203  description,
204  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.record_list.settings,
205  t3_listPid,
206  t3_tables,
207  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
208  hidden,
209  assign_to_groups
210  '],
211  '4' => ['showitem' => '
212  type,
213  title,
214  description,
215  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.edit_records.settings,
216  t4_recordsToEdit,
217  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
218  hidden,
219  assign_to_groups
220  '],
221  '5' => ['showitem' => '
222  type,
223  title,
224  description,
225  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.new_record.settings,
226  t3_listPid;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.new_record.pid,
227  t3_tables;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.new_record.tablename,
228  --div--;LLL:EXT:sys_action/Resources/Private/Language/locallang_tca.xlf:sys_action.tab.access,
229  hidden,
230  assign_to_groups
231  ']
232  ]
233 ];