[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Functional / Fixtures / Extensions / blog_example / Configuration / TCA / tx_blogexample_domain_model_comment.php
1 <?php
2 return array(
3 'ctrl' => array(
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' => array(
12 'disabled' => 'hidden'
13 ),
14 'iconfile' => 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_comment.gif'
15 ),
16 'interface' => array(
17 'showRecordFieldList' => 'hidden, date, author, email, content'
18 ),
19 'columns' => array(
20 'hidden' => array(
21 'exclude' => true,
22 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
23 'config' => array(
24 'type' => 'check'
25 )
26 ),
27 'date' => array(
28 'exclude' => true,
29 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.date',
30 'config' => array(
31 'type' => 'input',
32 'dbType' => 'datetime',
33 'size' => 12,
34 'eval' => 'datetime, required',
35 'default' => time()
36 )
37 ),
38 'author' => array(
39 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.author',
40 'config' => array(
41 'type' => 'input',
42 'size' => 20,
43 'eval' => 'trim, required',
44 'max' => 256
45 )
46 ),
47 'email' => array(
48 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.email',
49 'config' => array(
50 'type' => 'input',
51 'size' => 20,
52 'eval' => 'trim, required',
53 'max' => 256
54 )
55 ),
56 'content' => array(
57 'exclude' => true,
58 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.content',
59 'config' => array(
60 'type' => 'text',
61 'rows' => 30,
62 'cols' => 80
63 )
64 ),
65 'post' => array(
66 'config' => array(
67 'type' => 'passthrough',
68 )
69 ),
70 ),
71 'types' => array(
72 '1' => array('showitem' => 'hidden, date, author, email, content')
73 ),
74 'palettes' => array(
75 '1' => array('showitem' => '')
76 )
77 );