‪TYPO3CMS  10.4
fe_groups.php
Go to the documentation of this file.
1 <?php
2 
3 return [
4  'ctrl' => [
5  'label' => 'title',
6  'descriptionColumn' => 'description',
7  'tstamp' => 'tstamp',
8  'crdate' => 'crdate',
9  'cruser_id' => 'cruser_id',
10  'delete' => 'deleted',
11  'default_sortby' => 'title',
12  'prependAtCopy' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
13  'enablecolumns' => [
14  'disabled' => 'hidden'
15  ],
16  'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups',
17  'typeicon_classes' => [
18  'default' => 'status-user-group-frontend'
19  ],
20  'useColumnsForDefaultValues' => 'lockToDomain',
21  'searchFields' => 'title,description'
22  ],
23  'columns' => [
24  'hidden' => [
25  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled',
26  'exclude' => true,
27  'config' => [
28  'type' => 'check',
29  'renderType' => 'checkboxToggle',
30  'default' => 0,
31  'items' => [
32  [
33  0 => '',
34  1 => '',
35  'invertStateDisplay' => true,
36  ],
37  ],
38  ],
39  ],
40  'title' => [
41  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.title',
42  'config' => [
43  'type' => 'input',
44  'size' => 20,
45  'max' => 50,
46  'eval' => 'trim,required'
47  ]
48  ],
49  'subgroup' => [
50  'exclude' => true,
51  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.subgroup',
52  'config' => [
53  'type' => 'select',
54  'renderType' => 'selectMultipleSideBySide',
55  'foreign_table' => 'fe_groups',
56  'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###)',
57  'size' => 6,
58  'autoSizeMax' => 10,
59  'minitems' => 0,
60  'maxitems' => 20
61  ]
62  ],
63  'lockToDomain' => [
64  'exclude' => true,
65  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.lockToDomain',
66  'config' => [
67  'type' => 'input',
68  'size' => 20,
69  'eval' => 'trim',
70  'max' => 50
71  ]
72  ],
73  'description' => [
74  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.description',
75  'config' => [
76  'type' => 'text',
77  'rows' => 5,
78  'cols' => 48
79  ]
80  ],
81  'TSconfig' => [
82  'exclude' => true,
83  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:TSconfig',
84  'config' => [
85  'type' => 'text',
86  'cols' => 40,
87  'rows' => 10,
88  'enableTabulator' => true,
89  'fixedFont' => true,
90  ],
91  ]
92  ],
93  'types' => [
94  '0' => ['showitem' => '
95  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
96  title,subgroup,
97  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.tabs.options,
98  lockToDomain, TSconfig,
99  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
100  hidden,
101  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
102  description,
103  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
104  ']
105  ]
106 ];