-
Notifications
You must be signed in to change notification settings - Fork 7
/
ext_localconf.php
29 lines (26 loc) · 1 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
<?php
defined('TYPO3') or die();
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'SlubForms',
'Sf',
[
\Slub\SlubForms\Controller\EmailController::class => 'new, create',
],
// non-cacheable actions
[
\Slub\SlubForms\Controller\EmailController::class => 'new, create',
]
);
/**
* provide Slots
*/
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
$languageDir = 'slub_forms/Resources/Private/Language/';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Slub\\SlubForms\\Task\\CleanUpTask'] = [
'extension' => 'slub_forms',
'title' => 'LLL:EXT:' . $languageDir . 'locallang_be.xlf:tasks.cleanup.name',
'description' => 'LLL:EXT:' . $languageDir . 'locallang_be.xlf:tasks.cleanup.description',
'additionalFields' => Slub\SlubForms\Task\CleanUpTaskAdditionalFieldProvider::class
];