-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathext_localconf.php
21 lines (17 loc) · 1.01 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
<?php
defined('TYPO3') || die('Access denied.');
call_user_func(function () {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all']['social_gdpr'] =
\IchHabRecht\SocialGdpr\Hooks\ContentPostProcessHook::class . '->replaceSocialMedia';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms_inline.php']['tceformsInlineHook'][] =
\IchHabRecht\SocialGdpr\Form\CustomInlineControl\OnlineFalMediaPreviewFlush::class;
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['social_gdpr']['handler'] = array_merge(
[
'youtube' => \IchHabRecht\SocialGdpr\Handler\YoutubeHandler::class,
'vimeo' => \IchHabRecht\SocialGdpr\Handler\VimeoHandler::class,
'googleMapsIframe' => \IchHabRecht\SocialGdpr\Handler\GoogleMapsIframeHandler::class,
'openStreetMap' => \IchHabRecht\SocialGdpr\Handler\OpenStreetMapHandler::class,
],
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['social_gdpr']['handler'] ?? []
);
});