[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Functional / Fixtures / Extensions / blog_example / Configuration / TCA / tx_blogexample_domain_model_person.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_person',
5 'label' => 'lastname',
6 'label_alt' => 'firstname',
7 'label_alt_force' => true,
8 'tstamp' => 'tstamp',
9 'crdate' => 'crdate',
10 'versioningWS' => true,
11 'versioning_followPages' => true,
12 'origUid' => 't3_origuid',
13 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
14 'delete' => 'deleted',
15 'enablecolumns' => array(
16 'disabled' => 'hidden'
17 ),
18 'iconfile' => 'EXT:blog_example/Resources/Public/Icons/icon_tx_blogexample_domain_model_person.gif'
19 ),
20 'interface' => array(
21 'showRecordFieldList' => 'firstname, lastname, email, avatar'
22 ),
23 'columns' => array(
24 'hidden' => array(
25 'exclude' => true,
26 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
27 'config' => array(
28 'type' => 'check'
29 )
30 ),
31 'firstname' => array(
32 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.firstname',
33 'config' => array(
34 'type' => 'input',
35 'size' => 20,
36 'eval' => 'trim,required',
37 'max' => 256
38 )
39 ),
40 'lastname' => array(
41 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.lastname',
42 'config' => array(
43 'type' => 'input',
44 'size' => 20,
45 'eval' => 'trim,required',
46 'max' => 256
47 )
48 ),
49 'email' => array(
50 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.email',
51 'config' => array(
52 'type' => 'input',
53 'size' => 20,
54 'eval' => 'trim, required',
55 'max' => 256
56 )
57 ),
58 'tags' => array(
59 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.tags',
60 'config' => array(
61 'type' => 'inline',
62 'foreign_table' => 'tx_blogexample_domain_model_tag',
63 'MM' => 'tx_blogexample_domain_model_tag_mm',
64 'foreign_table_field' => 'tablenames',
65 'foreign_match_fields' => array(
66 'fieldname' => 'tags'
67 ),
68 'maxitems' => 9999,
69 'appearance' => array(
70 'useCombination' => 1,
71 'useSortable' => 1,
72 'collapseAll' => 1,
73 'expandSingle' => 1,
74 )
75 )
76 ),
77 'tags_special' => array(
78 'exclude' => true,
79 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.tags_special',
80 'config' => array(
81 'type' => 'inline',
82 'foreign_table' => 'tx_blogexample_domain_model_tag',
83 'MM' => 'tx_blogexample_domain_model_tag_mm',
84 'foreign_table_field' => 'tablenames',
85 'foreign_match_fields' => array(
86 'fieldname' => 'tags_special'
87 ),
88 'maxitems' => 9999,
89 'appearance' => array(
90 'useCombination' => 1,
91 'useSortable' => 1,
92 'collapseAll' => 1,
93 'expandSingle' => 1,
94 )
95 )
96 ),
97 ),
98 'types' => array(
99 '1' => array('showitem' => 'firstname, lastname, email, avatar, tags, tags_special')
100 ),
101 'palettes' => array(
102 '1' => array('showitem' => '')
103 )
104 );