e34d634819c5cd00e303273dc10471434a0885b4
[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' => 1,
26 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
27 'config' => array(
28 'type' => 'check'
29 )
30 ),
31 'firstname' => array(
32 'exclude' => 0,
33 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.firstname',
34 'config' => array(
35 'type' => 'input',
36 'size' => 20,
37 'eval' => 'trim,required',
38 'max' => 256
39 )
40 ),
41 'lastname' => array(
42 'exclude' => 0,
43 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.lastname',
44 'config' => array(
45 'type' => 'input',
46 'size' => 20,
47 'eval' => 'trim,required',
48 'max' => 256
49 )
50 ),
51 'email' => array(
52 'exclude' => 0,
53 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.email',
54 'config' => array(
55 'type' => 'input',
56 'size' => 20,
57 'eval' => 'trim, required',
58 'max' => 256
59 )
60 ),
61 'tags' => array(
62 'exclude' => 1,
63 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.tags',
64 'config' => array(
65 'type' => 'inline',
66 'foreign_table' => 'tx_blogexample_domain_model_tag',
67 'MM' => 'tx_blogexample_domain_model_tag_mm',
68 'foreign_table_field' => 'tablenames',
69 'foreign_match_fields' => array(
70 'fieldname' => 'tags'
71 ),
72 'maxitems' => 9999,
73 'appearance' => array(
74 'useCombination' => 1,
75 'useSortable' => 1,
76 'collapseAll' => 1,
77 'expandSingle' => 1,
78 )
79 )
80 ),
81 'tags_special' => array(
82 'exclude' => 1,
83 'label' => 'LLL:EXT:blog_example/Resources/Private/Language/locallang_db.xml:tx_blogexample_domain_model_person.tags_special',
84 'config' => array(
85 'type' => 'inline',
86 'foreign_table' => 'tx_blogexample_domain_model_tag',
87 'MM' => 'tx_blogexample_domain_model_tag_mm',
88 'foreign_table_field' => 'tablenames',
89 'foreign_match_fields' => array(
90 'fieldname' => 'tags_special'
91 ),
92 'maxitems' => 9999,
93 'appearance' => array(
94 'useCombination' => 1,
95 'useSortable' => 1,
96 'collapseAll' => 1,
97 'expandSingle' => 1,
98 )
99 )
100 ),
101 ),
102 'types' => array(
103 '1' => array('showitem' => 'firstname, lastname, email, avatar, tags, tags_special')
104 ),
105 'palettes' => array(
106 '1' => array('showitem' => '')
107 )
108 );