[TASK] Make TYPO3 Core PSR-2 standard compliant
[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 'rows' => '5',
50 'cols' => '25',
51 'wizards' => array(
52 0 => array(
53 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.wizard',
54 'type' => 'popup',
55 'icon' => 'EXT:frontend/Resources/Public/Images/wizard_backend_layout.png',
56 'module' => array(
57 'name' => 'wizard_backend_layout'
58 ),
59 'JSopenParams' => 'height=800,width=800,status=0,menubar=0,scrollbars=0'
60 )
61 )
62 )
63 ),
64 'hidden' => array(
65 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
66 'exclude' => 1,
67 'config' => array(
68 'type' => 'check',
69 'default' => '0'
70 )
71 ),
72 'icon' => array(
73 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:backend_layout.icon',
74 'exclude' => 1,
75 'config' => array(
76 'type' => 'group',
77 'internal_type' => 'file',
78 'allowed' => 'jpg,gif,png',
79 'uploadfolder' => 'uploads/media',
80 'show_thumbs' => 1,
81 'size' => 1,
82 'maxitems' => 1
83 )
84 )
85 ),
86 'types' => array(
87 '1' => array(
88 'showitem' => 'hidden, title, icon, description, config',
89 ),
90 )
91 );