TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/TCA/Overrides/tt_content.php
Go to the documentation of this file.
1 <?php
2 
3 // Show copied tt_content records in frontend request
4 $GLOBALS['TCA']['tt_content']['ctrl']['hideAtCopy'] = false;
5 
6 $GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
7 $GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForMovePlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
8 
10  'tt_content',
11  [
12  'tx_irretutorial_1nff_hotels' => [
13  'exclude' => true,
14  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1nff_hotels',
15  'config' => [
16  'type' => 'inline',
17  'foreign_table' => 'tx_irretutorial_1nff_hotel',
18  'foreign_field' => 'parentid',
19  'foreign_table_field' => 'parenttable',
20  'maxitems' => 10,
21  'appearance' => [
22  'showSynchronizationLink' => 1,
23  'showAllLocalizationLink' => 1,
24  'showPossibleLocalizationRecords' => 1,
25  'showRemovedLocalizationRecords' => 1,
26  ],
27  'behaviour' => [
28  'localizationMode' => 'select',
29  'localizeChildrenAtParentLocalization' => true,
30  ],
31  ]
32  ],
33  'tx_irretutorial_1ncsv_hotels' => [
34  'exclude' => true,
35  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_1ncsv_hotels',
36  'config' => [
37  'type' => 'inline',
38  'foreign_table' => 'tx_irretutorial_1ncsv_hotel',
39  'maxitems' => 10,
40  'appearance' => [
41  'showSynchronizationLink' => 1,
42  'showAllLocalizationLink' => 1,
43  'showPossibleLocalizationRecords' => 1,
44  'showRemovedLocalizationRecords' => 1,
45  ],
46  'behaviour' => [
47  'localizationMode' => 'select',
48  'localizeChildrenAtParentLocalization' => true,
49  ],
50  'default' => '',
51  ]
52  ],
53  'tx_irretutorial_flexform' => [
54  'exclude' => true,
55  'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.tx_irretutorial_flexform',
56  'config' => [
57  'type' => 'flex',
58  'ds' => [
59  'default' => 'FILE:EXT:irre_tutorial/Configuration/FlexForms/tt_content_flexform.xml',
60  ],
61  'default' => '',
62  ]
63  ],
64  ]
65 );
66 
68  'tt_content',
69  '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.div.irre, tx_irretutorial_1nff_hotels, tx_irretutorial_1ncsv_hotels, tx_irretutorial_flexform'
70 );
static addToAllTCAtypes($table, $newFieldsString, $typeList= '', $position= '')