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