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