ds-site/ext_localconf.php
Daniel Siepmann b63ac9b93f Remove custom ViewHelper to edit record
As TYPO3 master already has necessary features.
2020-01-19 13:54:38 +01:00

21 lines
715 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/db_layout.php' => [
'drawHeaderHook' => [
$extKey => \DanielSiepmann\DsSite\Hooks\Backend\PageLayoutHeader::class . '->render',
],
],
],
]);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
"@import 'EXT:ds_site/Configuration/UserTSconfig/*.tsconfig'"
);
})('ds_site');