6ea7a3b03902d32b4921091799397a2f63cc4bbc
[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' => 1,
22 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
23 'config' => array(
24 'type' => 'check'
25 )
26 ),
27 'date' => array(
28 'exclude' => 1,
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 'exclude' => 0,
40 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.author',
41 'config' => array(
42 'type' => 'input',
43 'size' => 20,
44 'eval' => 'trim, required',
45 'max' => 256
46 )
47 ),
48 'email' => array(
49 'exclude' => 0,
50 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.email',
51 'config' => array(
52 'type' => 'input',
53 'size' => 20,
54 'eval' => 'trim, required',
55 'max' => 256
56 )
57 ),
58 'content' => array(
59 'exclude' => 1,
60 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_comment.content',
61 'config' => array(
62 'type' => 'text',
63 'rows' => 30,
64 'cols' => 80
65 )
66 ),
67 'post' => array(
68 'config' => array(
69 'type' => 'passthrough',
70 )
71 ),
72 ),
73 'types' => array(
74 '1' => array('showitem' => 'hidden, date, author, email, content')
75 ),
76 'palettes' => array(
77 '1' => array('showitem' => '')
78 )
79 );