-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
21 lines (19 loc) · 930 Bytes
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
defined('TYPO3') || die();
call_user_func(static function (): void {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['l10nmgr']['inlineTablesConfig'] ??= [];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['l10nmgr']['inlineTablesConfig']['tx_example_wall'] = [
'parentField' => 'tt_content',
'childrenField' => 'tx_example_relation_wall'
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['l10nmgr']['inlineTablesConfig']['tx_example_brick'] = [
'parentField' => 'tt_content',
'childrenField' => 'tx_example_relation_brick'
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['l10nmgr']['additionalInlineTablesConfig']['tx_example_brick'] ??= [];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['l10nmgr']['additionalInlineTablesConfig']['tx_example_brick'][] = [
'parentTable' => 'tx_example_wall',
'parentField' => 'tx_example_wall',
'childrenField' => 'relation_brick'
];
});