[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Configuration / TCA / tx_extensionmanager_domain_model_extension.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xlf:tx_extensionmanager_domain_model_extension',
5 'label' => 'uid',
6 'default_sortby' => '',
7 'hideTable' => true,
8 'rootLevel' => true,
9 'adminOnly' => true,
10 'typeicon_classes' => array(
11 'default' => 'empty-icon'
12 )
13 ),
14 'interface' => array(
15 'showRecordFieldList' => 'extension_key,version,integer_version,title,description,state,category,last_updated,update_comment,author_name,author_email,md5hash,serialized_dependencies'
16 ),
17 'columns' => array(
18 'extension_key' => array(
19 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.extensionkey',
20 'config' => array(
21 'type' => 'input',
22 'size' => 30
23 )
24 ),
25 'version' => array(
26 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.version',
27 'config' => array(
28 'type' => 'input',
29 'size' => 30
30 )
31 ),
32 'alldownloadcounter' => array(
33 'config' => array(
34 'type' => 'passthrough'
35 )
36 ),
37 'integer_version' => array(
38 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.integerversion',
39 'config' => array(
40 'type' => 'input',
41 'size' => 30
42 )
43 ),
44 'title' => array(
45 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.title',
46 'config' => array(
47 'type' => 'input',
48 'size' => 30
49 )
50 ),
51 'description' => array(
52 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.description',
53 'config' => array(
54 'type' => 'text',
55 'cols' => 30,
56 'rows' => 5
57 )
58 ),
59 'state' => array(
60 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.state',
61 'config' => array(
62 'type' => 'input',
63 'size' => 30,
64 'range' => array('lower' => 0, 'upper' => 1000),
65 'eval' => 'int'
66 )
67 ),
68 'category' => array(
69 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.category',
70 'config' => array(
71 'type' => 'input',
72 'size' => 30,
73 'range' => array('lower' => 0, 'upper' => 1000),
74 'eval' => 'int'
75 )
76 ),
77 'last_updated' => array(
78 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.lastupdated',
79 'config' => array(
80 'type' => 'input',
81 'size' => 30,
82 'eval' => 'datetime'
83 )
84 ),
85 'update_comment' => array(
86 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.updatecomment',
87 'config' => array(
88 'type' => 'text',
89 'cols' => 30,
90 'rows' => 5
91 )
92 ),
93 'author_name' => array(
94 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.authorname',
95 'config' => array(
96 'type' => 'input',
97 'size' => 30
98 )
99 ),
100 'author_email' => array(
101 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.authoremail',
102 'config' => array(
103 'type' => 'input',
104 'size' => 30
105 )
106 ),
107 'current_version' => array(
108 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.currentversion',
109 'config' => array(
110 'type' => 'check',
111 'size' => 1
112 )
113 ),
114 'review_state' => array(
115 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.reviewstate',
116 'config' => array(
117 'type' => 'check',
118 'size' => 1
119 )
120 ),
121 'md5hash' => array(
122 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.md5hash',
123 'config' => array(
124 'type' => 'input',
125 'size' => 1,
126 ),
127 ),
128 'serialized_dependencies' => array(
129 'label' => 'LLL:EXT:extensionmanager/Resources/Private/locallang_db.xlf:tx_extensionmanager_domain_model_extension.serializedDependencies',
130 'config' => array(
131 'type' => 'input',
132 'size' => 30,
133 ),
134 ),
135 ),
136 'types' => array(
137 '0' => array('showitem' => 'extensionkey, version, integer_version, title, description, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash, serialized_dependencies')
138 ),
139 'palettes' => array(
140 '1' => array('showitem' => '')
141 )
142 );