4b791c53bc950c7e0270a933a566f81037d5d047
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Extensions / irre_tutorial / Configuration / ExtTables / ext_tables.mnsym.php
1 <?php
2 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_mnsym_hotel');
3
4 $TCA['tx_irretutorial_mnsym_hotel'] = array(
5 'ctrl' => array(
6 'title' => 'LLL:EXT:irre_tutorial/locallang_db.xml:tx_irretutorial_mnsym_hotel',
7 'label' => 'title',
8 'tstamp' => 'tstamp',
9 'crdate' => 'crdate',
10 'cruser_id' => 'cruser_id',
11 'languageField' => 'sys_language_uid',
12 'transOrigPointerField' => 'l18n_parent',
13 'transOrigDiffSourceField' => 'l18n_diffsource',
14 'sortby' => 'sorting',
15 'delete' => 'deleted',
16 'enablecolumns' => array(
17 'disabled' => 'hidden',
18 ),
19 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnsym.php',
20 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel.gif',
21 'versioningWS' => 2,
22 'origUid' => 't3_origuid',
23 'dividers2tabs' => TRUE,
24 ),
25 'feInterface' => array(
26 'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, title, branches',
27 )
28 );
29
30
31 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_mnsym_hotel_rel');
32
33 $TCA['tx_irretutorial_mnsym_hotel_rel'] = array(
34 'ctrl' => array(
35 'title' => 'LLL:EXT:irre_tutorial/locallang_db.xml:tx_irretutorial_mnsym_hotel_rel',
36 'label' => 'uid',
37 'tstamp' => 'tstamp',
38 'crdate' => 'crdate',
39 'cruser_id' => 'cruser_id',
40 'languageField' => 'sys_language_uid',
41 'transOrigPointerField' => 'l18n_parent',
42 'transOrigDiffSourceField' => 'l18n_diffsource',
43 'delete' => 'deleted',
44 'enablecolumns' => array(
45 'disabled' => 'hidden',
46 ),
47 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'Configuration/Tca/tca.mnsym.php',
48 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Icons/icon_tx_irretutorial_hotel_rel.gif',
49 'versioningWS' => 2,
50 'origUid' => 't3_origuid',
51 // @see http://forge.typo3.org/issues/29278 which solves it implicitly in the Core
52 // 'shadowColumnsForNewPlaceholders' => 'hotelid',
53 'dividers2tabs' => TRUE,
54 ),
55 'feInterface' => array(
56 'fe_admin_fieldList' => 'sys_language_uid, l18n_parent, l18n_diffsource, hidden, hotelid, branchid',
57 )
58 );
59 ?>