TYPO3 CMS  TYPO3_8-7
sys_domain.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'label' => 'domainName',
5  'tstamp' => 'tstamp',
6  'crdate' => 'crdate',
7  'cruser_id' => 'cruser_id',
8  'sortby' => 'sorting',
9  'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain',
10  'enablecolumns' => [
11  'disabled' => 'hidden'
12  ],
13  'typeicon_classes' => [
14  'default' => 'mimetypes-x-content-domain'
15  ],
16  'searchFields' => 'domainName,redirectTo'
17  ],
18  'interface' => [
19  'showRecordFieldList' => 'hidden,domainName,redirectTo'
20  ],
21  'columns' => [
22  'domainName' => [
23  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.domainName',
24  'config' => [
25  'type' => 'input',
26  'size' => 35,
27  'max' => 255,
28  'eval' => 'required,unique,lower,trim,domainname',
29  'softref' => 'substitute'
30  ]
31  ],
32  'redirectTo' => [
33  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectTo',
34  'config' => [
35  'type' => 'input',
36  'size' => 35,
37  'max' => 255,
38  'default' => '',
39  'eval' => 'trim',
40  'softref' => 'substitute'
41  ]
42  ],
43  'redirectHttpStatusCode' => [
44  'exclude' => true,
45  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode',
46  'config' => [
47  'type' => 'select',
48  'renderType' => 'selectSingle',
49  'items' => [
50  ['LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.301', '301'],
51  ['LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.302', '302'],
52  ['LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.303', '303'],
53  ['LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.307', '307']
54  ],
55  'size' => 1,
56  'maxitems' => 1
57  ]
58  ],
59  'hidden' => [
60  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.disable',
61  'exclude' => true,
62  'config' => [
63  'type' => 'check',
64  'default' => 0
65  ]
66  ],
67  'prepend_params' => [
68  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.prepend_params',
69  'exclude' => true,
70  'config' => [
71  'type' => 'check',
72  'default' => 0
73  ]
74  ],
75  'forced' => [
76  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.forced',
77  'exclude' => true,
78  'config' => [
79  'type' => 'check',
80  'default' => 0
81  ]
82  ]
83  ],
84  'types' => [
85  '1' => [
86  'showitem' => '
87  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
88  domainName,--palette--;;1, prepend_params, forced,
89  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
90  hidden,
91  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
92  ',
93  ],
94  ],
95  'palettes' => [
96  '1' => [
97  'showitem' => 'redirectTo, redirectHttpStatusCode',
98  ],
99  ]
100 ];