[TASK] Cleanup TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Extensions / irre_tutorial / Configuration / TCA / Overrides / pages.php
1 <?php
2
3 // Show copied pages records in frontend request
4 $GLOBALS['TCA']['pages']['ctrl']['hideAtCopy'] = false;
5
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
7 'pages',
8 array(
9 'tx_irretutorial_hotels' => array(
10 'exclude' => true,
11 'label' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.tx_irretutorial_hotels',
12 'config' => array(
13 'type' => 'inline',
14 'foreign_table' => 'tx_irretutorial_1nff_hotel',
15 'foreign_field' => 'parentid',
16 'foreign_table_field' => 'parenttable',
17 'maxitems' => 10,
18 'appearance' => array(
19 'showSynchronizationLink' => 1,
20 'showAllLocalizationLink' => 1,
21 'showPossibleLocalizationRecords' => 1,
22 'showRemovedLocalizationRecords' => 1,
23 ),
24 'behaviour' => array(
25 'localizationMode' => 'select',
26 ),
27 )
28 ),
29 )
30 );
31
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
33 'pages',
34 '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels'
35 );