-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathext_localconf.php
30 lines (26 loc) · 1.16 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
<?php
/**
* campus_events_connector comes with ABSOLUTELY NO WARRANTY
* See the GNU GeneralPublic License for more details.
* https://www.gnu.org/licenses/gpl-2.0
*
* Copyright (C) 2019 Brain Appeal GmbH
*
* @copyright 2019 Brain Appeal GmbH (www.brain-appeal.com)
* @license GPL-2 (www.gnu.org/licenses/gpl-2.0)
* @link https://www.campus-events.com/
*/
defined('TYPO3') or die();
call_user_func(
static function ($extKey) {
// Add caching framework garbage collection task
/** @var string $extKey */
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\BrainAppeal\CampusEventsConnector\Task\EventImportTask::class] = [
'extension' => $extKey,
'title' => 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang.xlf:tx_campuseventsconnector_task_eventimporttask.name',
'description' => 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang.xlf:tx_campuseventsconnector_task_eventimporttask.description',
'additionalFields' => \BrainAppeal\CampusEventsConnector\Task\EventImportAdditionalFieldProvider::class
];
},
'campus_events_connector'
);