30 lines
954 B
PHP
30 lines
954 B
PHP
<?php
|
|
|
|
(function (string $extKey) {
|
|
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($GLOBALS['TYPO3_CONF_VARS'], [
|
|
'RTE' => [
|
|
'Presets' => [
|
|
'default' => 'EXT:ds_site/Configuration/RTE/Default.yaml',
|
|
],
|
|
],
|
|
'SC_OPTIONS' => [
|
|
'cms/layout/class.tx_cms_layout.php' => [
|
|
'colpos_content' => [
|
|
$extKey => \DanielSiepmann\DsSite\Hooks\View\PageLayoutView::class,
|
|
],
|
|
],
|
|
],
|
|
'SYS' => [
|
|
'fluid' => [
|
|
'namespaces' => [
|
|
'f' => [
|
|
$extKey => 'DanielSiepmann\DsSite\ViewHelpers',
|
|
],
|
|
],
|
|
],
|
|
],
|
|
]);
|
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
|
|
"@import 'EXT:ds_site/Configuration/UserTSconfig/*.tsconfig'"
|
|
);
|
|
})('ds_site');
|