‪TYPO3CMS  9.5
tx_irretutorial_1ncsv_offer.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1ncsv_offer',
5  'label' => 'title',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser_id',
9  'languageField' => 'sys_language_uid',
10  'transOrigPointerField' => 'l18n_parent',
11  'transOrigDiffSourceField' => 'l18n_diffsource',
12  'translationSource' => 'l10n_source',
13  'sortby' => 'sorting',
14  'delete' => 'deleted',
15  'enablecolumns' => [
16  'disabled' => 'hidden',
17  ],
18  'iconfile' => 'EXT:irre_tutorial/Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
19  'versioningWS' => true,
20  'origUid' => 't3_origuid',
21  'shadowColumnsForNewPlaceholders' => 'prices',
22  'shadowColumnsForMovePlaceholders' => 'prices',
23  ],
24  'interface' => [
25  'showRecordFieldList' => 'sys_language_uid,l18n_parent,l18n_diffsource,hidden,title,prices'
26  ],
27  'columns' => [
28  'sys_language_uid' => [
29  'exclude' => true,
30  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
31  'config' => [
32  'type' => 'select',
33  'renderType' => 'selectSingle',
34  'foreign_table' => 'sys_language',
35  'foreign_table_where' => 'ORDER BY sys_language.title',
36  'items' => [
37  ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
38  ['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]
39  ],
40  'default' => 0
41  ]
42  ],
43  'l18n_parent' => [
44  'displayCond' => 'FIELD:sys_language_uid:>:0',
45  'exclude' => true,
46  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
47  'config' => [
48  'type' => 'select',
49  'renderType' => 'selectSingle',
50  'items' => [
51  ['', 0],
52  ],
53  'foreign_table' => 'tx_irretutorial_1ncsv_offer',
54  'foreign_table_where' => 'AND tx_irretutorial_1ncsv_offer.pid=###CURRENT_PID### AND tx_irretutorial_1ncsv_offer.sys_language_uid IN (-1,0)',
55  'default' => 0,
56  ]
57  ],
58  'l18n_diffsource' => [
59  'config' => [
60  'type' => 'passthrough',
61  'default' => ''
62  ]
63  ],
64  'hidden' => [
65  'exclude' => true,
66  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
67  'config' => [
68  'type' => 'check',
69  'default' => 0
70  ]
71  ],
72  'title' => [
73  'exclude' => true,
74  'l10n_mode' => 'prefixLangTitle',
75  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.title',
76  'config' => [
77  'type' => 'input',
78  'size' => 30,
79  'eval' => 'required',
80  ]
81  ],
82  'prices' => [
83  'exclude' => true,
84  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_offer.prices',
85  'config' => [
86  'type' => 'inline',
87  'foreign_table' => 'tx_irretutorial_1ncsv_price',
88  'maxitems' => 10,
89  'appearance' => [
90  'showSynchronizationLink' => 1,
91  'showAllLocalizationLink' => 1,
92  'showPossibleLocalizationRecords' => 1,
93  'showRemovedLocalizationRecords' => 1,
94  ],
95  'default' => ''
96  ]
97  ],
98  ],
99  'types' => [
100  '0' => ['showitem' =>
101  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, prices,' .
102  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden'
103  ]
104  ],
105  'palettes' => [
106  '1' => ['showitem' => '']
107  ]
108 ];