-
Notifications
You must be signed in to change notification settings - Fork 23
/
ext_localconf.php
45 lines (40 loc) · 1.27 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
<?php
/** @noinspection PhpFullyQualifiedNameUsageInspection */
if (!defined('TYPO3')) {
die('Access denied.');
}
(static function () {
/**
* ContentElementWizard for Pi1
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
"@import 'EXT:powermail_cond/Configuration/TSConfig/WebList.typoscript'"
);
/**
* Include Plugins
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'powermail_cond',
'Pi1',
[
\In2code\PowermailCond\Controller\ConditionController::class => 'buildCondition',
],
[
\In2code\PowermailCond\Controller\ConditionController::class => 'buildCondition',
]
);
/**
* User field registrations in TCA/FlexForm
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1588153418] = [
'nodeName' => 'powermailCondShowNote',
'priority' => 50,
'class' => \In2code\PowermailCond\Backend\Form\Element\Note::class,
];
/**
* Xclassing
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\In2code\Powermail\Domain\Validator\InputValidator::class] = [
'className' => \In2code\PowermailCond\Domain\Validator\ConditionAwareValidator::class,
];
})();