forked from slub/slub_forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
31 lines (28 loc) · 975 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
<?php
defined('TYPO3_MODE') or die();
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Slub.SlubForms',
'Sf',
array(
'Email' => 'new, create',
),
// non-cacheable actions
array(
'Email' => 'new, create',
)
);
/**
* provide Slots
*/
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
if (TYPO3_MODE === 'BE') {
$languageDir = $_EXTKEY . '/Resources/Private/Language/';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Slub\\SlubForms\\Task\\CleanUpTask'] = [
'extension' => $_EXTKEY,
'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
];
}