[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / backend_layout.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout',
5 'label' => 'title',
6 'descriptionColumn' => 'description',
7 'tstamp' => 'tstamp',
8 'crdate' => 'crdate',
9 'cruser_id' => 'cruser_id',
10 'versioningWS' => true,
11 'origUid' => 't3_origuid',
12 'sortby' => 'sorting',
13 'delete' => 'deleted',
14 'enablecolumns' => array(
15 'disabled' => 'hidden'
16 ),
17 'typeicon_classes' => array(
18 'default' => 'mimetypes-x-backend_layout'
19 ),
20 'selicon_field' => 'icon',
21 'selicon_field_path' => 'uploads/media',
22 'thumbnail' => 'resources'
23 ),
24 'interface' => array(
25 'showRecordFieldList' => 'title,config,description,hidden,icon'
26 ),
27 'columns' => array(
28 'title' => array(
29 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.title',
30 'config' => array(
31 'type' => 'input',
32 'size' => 25,
33 'max' => 255,
34 'eval' => 'required'
35 )
36 ),
37 'description' => array(
38 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.description',
39 'config' => array(
40 'type' => 'text',
41 'rows' => 5,
42 'cols' => 25
43 )
44 ),
45 'config' => array(
46 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.config',
47 'config' => array(
48 'type' => 'text',
49 'renderType' => 'belayoutwizard',
50 )
51 ),
52 'hidden' => array(
53 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
54 'exclude' => true,
55 'config' => array(
56 'type' => 'check',
57 'default' => 0
58 )
59 ),
60 'icon' => array(
61 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.icon',
62 'exclude' => true,
63 'config' => array(
64 'type' => 'group',
65 'internal_type' => 'file',
66 'allowed' => 'jpg,gif,png',
67 'uploadfolder' => 'uploads/media',
68 'show_thumbs' => true,
69 'size' => 1,
70 'maxitems' => 1
71 )
72 )
73 ),
74 'types' => array(
75 '1' => array(
76 'showitem' => 'title,icon,config,
77 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.tabs.access, hidden,
78 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.tabs.extended, description',
79 ),
80 )
81 );