-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathext_localconf.php
More file actions
27 lines (21 loc) · 942 Bytes
/
Copy pathext_localconf.php
File metadata and controls
27 lines (21 loc) · 942 Bytes
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
<?php
declare(strict_types=1);
use Brotkrueml\Schema\Extension;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use Brotkrueml\Schema\AdminPanel\SchemaModule;
use Brotkrueml\Schema\AdminPanel\TypesInformation;
defined('TYPO3') || die();
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['schema'] = ['Brotkrueml\\Schema\\ViewHelpers'];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][Extension::CACHE_IDENTIFIER] ??= [];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'][Extension::CACHE_IDENTIFIER]['groups'] ??= ['pages'];
if (ExtensionManagementUtility::isLoaded('adminpanel')) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']['ext-schema'] = [
'module' => SchemaModule::class,
'after' => ['tsdebug'],
'submodules' => [
'types' => [
'module' => TypesInformation::class,
],
],
];
}