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