[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Configuration / TCA / tx_scheduler_task_group.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'groupName',
5 'tstamp' => 'tstamp',
6 'title' => 'LLL:EXT:scheduler/Resources/Private/Language/locallang_tca.xlf:tx_scheduler_task_group',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'delete' => 'deleted',
10 'sortby' => 'sorting',
11 'typeicon_classes' => array(
12 'default' => 'mimetypes-x-tx_scheduler_task_group'
13 ),
14 'adminOnly' => true, // Only admin users can edit
15 'rootLevel' => 1,
16 'enablecolumns' => array(
17 'disabled' => 'hidden'
18 ),
19 'searchFields' => 'groupName'
20 ),
21 'interface' => array(
22 'showRecordFieldList' => 'hidden,groupName'
23 ),
24 'columns' => array(
25 'groupName' => array(
26 'label' => 'LLL:EXT:scheduler/Resources/Private/Language/locallang_tca.xlf:tx_scheduler_task_group.groupName',
27 'config' => array(
28 'type' => 'input',
29 'size' => 35,
30 'max' => 80,
31 'eval' => 'required,unique,trim',
32 'softref' => 'substitute'
33 )
34 ),
35 'description' => array(
36 'label' => 'LLL:EXT:scheduler/Resources/Private/Language/locallang_tca.xlf:tx_scheduler_task_group.description',
37 'config' => array(
38 'type' => 'text'
39 ),
40 ),
41 'hidden' => array(
42 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
43 'exclude' => true,
44 'config' => array(
45 'type' => 'check',
46 'default' => 0
47 )
48 )
49 ),
50 'types' => array(
51 '1' => array(
52 'showitem' => 'hidden, groupName, description',
53 ),
54 ),
55 );