-
Notifications
You must be signed in to change notification settings - Fork 14
/
ext_localconf.php
58 lines (49 loc) · 1.74 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
defined('TYPO3') or die();
use TYPO3\CMS\ContentBlocks\DataHandler\ClearBackendPreviewCaches;
use TYPO3\CMS\Core\Cache\Backend\FileBackend;
use TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend;
use TYPO3\CMS\Core\Cache\Frontend\PhpFrontend;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
ExtensionManagementUtility::addTypoScriptSetup('
lib.contentBlock = FLUIDTEMPLATE
lib.contentBlock {
dataProcessing {
10 = content-blocks
}
}
');
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['content_blocks_yaml'] = [
'frontend' => PhpFrontend::class,
'backend' => SimpleFileBackend::class,
'options' => [
'defaultLifetime' => 0,
],
'groups' => ['system'],
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['content_blocks_object'] = [
'frontend' => PhpFrontend::class,
'backend' => SimpleFileBackend::class,
'options' => [
'defaultLifetime' => 0,
],
'groups' => ['system'],
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['content_blocks_code'] = [
'frontend' => PhpFrontend::class,
'backend' => SimpleFileBackend::class,
'options' => [
'defaultLifetime' => 0,
],
'groups' => ['system'],
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['content_blocks_preview'] = [
'frontend' => PhpFrontend::class,
'backend' => FileBackend::class,
'options' => [
'defaultLifetime' => 0,
],
'groups' => ['system'],
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ClearBackendPreviewCaches::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['cb'][] = 'TYPO3\\CMS\\ContentBlocks\\ViewHelpers';