forked from clickstorm/cs_powermail_gdpr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
26 lines (22 loc) · 893 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
<?php
defined('TYPO3_MODE') || die('Access denied.');
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class
);
$signalSlotDispatcher->connect(
'In2code\Powermail\Controller\FormController',
'createActionBeforeRenderView',
'Clickstorm\CsPowermailGdpr\Hook\FormController',
'manipulateForm',
FALSE
);
$signalSlotDispatcher->connect(
'In2code\Powermail\Controller\FormController',
'confirmationActionBeforeRenderView',
'Clickstorm\CsPowermailGdpr\Hook\FormController',
'manipulateFormForConfirmation',
FALSE
);
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:powermail/Resources/Private/Language/locallang.xlf'][]
= 'EXT:cs_powermail_gdpr/Resources/Private/Language/locallang.xlf';