0efae08db5b2f3f4b931b47a0d438db6e411f14b
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Extensions / irre_tutorial / Configuration / ExtTables / ext_tables.1nff.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_1nff_hotel');
5
6 $TCA['tx_irretutorial_1nff_hotel'] = array(
7 'ctrl' => array(
8 'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1nff_hotel',
9 'label' => 'title',
10 'tstamp' => 'tstamp',
11 'crdate' => 'crdate',
12 'cruser_id' => 'cruser_id',
13 'languageField' => 'sys_language_uid',
14 'transOrigPointerField' => 'l18n_parent',
15 'transOrigDiffSourceField' => 'l18n_diffsource',
16 'sortby' => 'sorting',
17 'delete' => 'deleted',
18 'enablecolumns' => array(
19 'disabled' => 'hidden',
20 ),
21 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
22 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
23 'versioningWS' => 2,
24 'origUid' => 't3_origuid',
25 // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
26 // 'shadowColumnsForNewPlaceholders' => 'parentid,parenttable',
27 'shadowColumnsForMovePlaceholders' => 'parentid,parenttable',
28 'dividers2tabs' => TRUE,
29 ),
30 'feInterface' => array(
31 'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, title, offers',
32 )
33 );
34
35
36 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_1nff_offer');
37
38 $TCA['tx_irretutorial_1nff_offer'] = array(
39 'ctrl' => array(
40 'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1nff_offer',
41 'label' => 'title',
42 'tstamp' => 'tstamp',
43 'crdate' => 'crdate',
44 'cruser_id' => 'cruser_id',
45 'languageField' => 'sys_language_uid',
46 'transOrigPointerField' => 'l18n_parent',
47 'transOrigDiffSourceField' => 'l18n_diffsource',
48 'sortby' => 'sorting',
49 'delete' => 'deleted',
50 'enablecolumns' => array(
51 'disabled' => 'hidden',
52 ),
53 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
54 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_offer.gif',
55 'versioningWS' => 2,
56 'origUid' => 't3_origuid',
57 // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
58 // 'shadowColumnsForNewPlaceholders' => 'parentid,parenttable',
59 'shadowColumnsForMovePlaceholders' => 'parentid,parenttable',
60 'dividers2tabs' => TRUE,
61 ),
62 'feInterface' => array(
63 'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, parentid, parenttable, title, prices',
64 )
65 );
66
67
68 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_1nff_price');
69
70 $TCA['tx_irretutorial_1nff_price'] = array(
71 'ctrl' => array(
72 'title' => 'LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tx_irretutorial_1nff_price',
73 'label' => 'title',
74 'tstamp' => 'tstamp',
75 'crdate' => 'crdate',
76 'cruser_id' => 'cruser_id',
77 'languageField' => 'sys_language_uid',
78 'transOrigPointerField' => 'l18n_parent',
79 'transOrigDiffSourceField' => 'l18n_diffsource',
80 'sortby' => 'sorting',
81 'delete' => 'deleted',
82 'enablecolumns' => array(
83 'disabled' => 'hidden',
84 ),
85 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/Tca/tca.1nff.php',
86 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/icon_tx_irretutorial_price.gif',
87 'versioningWS' => 2,
88 'origUid' => 't3_origuid',
89 // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
90 // 'shadowColumnsForNewPlaceholders' => 'parentid,parenttable',
91 'shadowColumnsForMovePlaceholders' => 'parentid,parenttable',
92 'dividers2tabs' => TRUE,
93 ),
94 'feInterface' => array(
95 'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, parentid, title, price',
96 )
97 );