mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-11-05 12:56:11 +01:00
25 lines
886 B
PHP
25 lines
886 B
PHP
<?php
|
|
|
|
(static function (string $extensionKey, string $tableName) {
|
|
$languagePath = 'LLL:EXT:' . $extensionKey . '/Resources/Private/Language/locallang_be.xlf:' . $tableName . '.';
|
|
|
|
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['SiteConfiguration']['site'], [
|
|
'columns' => [
|
|
'thuecat_api_key' => [
|
|
'label' => $languagePath . 'thuecat_api_key',
|
|
'config' => [
|
|
'type' => 'input',
|
|
],
|
|
],
|
|
],
|
|
'types' => [
|
|
'0' => [
|
|
'showitem' => $GLOBALS['SiteConfiguration']['site']['types']['0']['showitem']
|
|
. ', ' . implode(',', [
|
|
'--div--;' . $languagePath . 'div.thuecat',
|
|
'thuecat_api_key',
|
|
]),
|
|
],
|
|
],
|
|
]);
|
|
})('thuecat', 'site');
|