-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathext_localconf.php
32 lines (27 loc) · 989 Bytes
/
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
<?php
/*
* This file is part of the composer package buepro/typo3-container-elements.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/
defined('TYPO3') || die('Access denied.');
(function () {
$extensionConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class
);
$containerElementsConfiguration = $extensionConfiguration->get('container_elements');
/**
* Load default TS
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
'@import "EXT:container_elements/Configuration/TypoScript/setup.typoscript"'
);
/**
* Hooks
*/
if (1) {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']
['container_elements'] = \Buepro\ContainerElements\Hooks\DataHandlerHook::class;
}
})();