TYPO3 CMS  TYPO3_8-7
tx_blogexample_domain_model_comment.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment',
5  'label' => 'date',
6  'label_alt' => 'author',
7  'label_alt_force' => true,
8  'tstamp' => 'tstamp',
9  'crdate' => 'crdate',
10  'delete' => 'deleted',
11  'enablecolumns' => [
12  'disabled' => 'hidden'
13  ],
14  'iconfile' => 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_comment.gif'
15  ],
16  'interface' => [
17  'showRecordFieldList' => 'hidden, date, author, email, content'
18  ],
19  'columns' => [
20  'hidden' => [
21  'exclude' => true,
22  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
23  'config' => [
24  'type' => 'check'
25  ]
26  ],
27  'date' => [
28  'exclude' => true,
29  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.date',
30  'config' => [
31  'type' => 'input',
32  'renderType' => 'inputDateTime',
33  'dbType' => 'datetime',
34  'size' => 12,
35  'eval' => 'datetime, required',
36  'default' => time()
37  ]
38  ],
39  'author' => [
40  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.author',
41  'config' => [
42  'type' => 'input',
43  'size' => 20,
44  'eval' => 'trim, required',
45  'max' => 256
46  ]
47  ],
48  'email' => [
49  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.email',
50  'config' => [
51  'type' => 'input',
52  'size' => 20,
53  'eval' => 'trim, required',
54  'max' => 256
55  ]
56  ],
57  'content' => [
58  'exclude' => true,
59  'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.content',
60  'config' => [
61  'type' => 'text',
62  'rows' => 30,
63  'cols' => 80
64  ]
65  ],
66  'post' => [
67  'config' => [
68  'type' => 'passthrough',
69  ]
70  ],
71  ],
72  'types' => [
73  '1' => ['showitem' => 'hidden, date, author, email, content']
74  ],
75  'palettes' => [
76  '1' => ['showitem' => '']
77  ]
78 ];