-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathext_localconf.php
17 lines (13 loc) · 943 Bytes
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
call_user_func(static function ($packageKey) {
$GLOBALS['TYPO3_CONF_VARS']['FE']['addAllowedPaths'] .= ',' . $packageKey;
// Enable for Frontend and Backend at the same time
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess'][$packageKey] = \Ssch\Typo3Encore\Integration\PageRendererHooks::class . '->renderPreProcess';
// Add collected assets to page cache
}, 'typo3_encore');
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['tcaDatabaseRecord'][\Ssch\Typo3Encore\Form\FormDataProvider\RichtextEncoreConfiguration::class] = [
'depends' => [\TYPO3\CMS\Backend\Form\FormDataProvider\TcaText::class],
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['formDataGroup']['flexFormSegment'][\Ssch\Typo3Encore\Form\FormDataProvider\RichtextEncoreConfiguration::class] = [
'depends' => [\TYPO3\CMS\Backend\Form\FormDataProvider\TcaText::class],
];