[BUGFIX] Change ID of submit button in EXT:belog
[Packages/TYPO3.CMS.git] / typo3 / sysext / recycler / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('RecyclerAjaxController::dispatch', \TYPO3\CMS\Recycler\Controller\RecyclerAjaxController::class . '->dispatch');
6 }
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
8 'RecyclerAjaxController::init',
9 \TYPO3\CMS\Recycler\Task\CleanerTask::class . '->init'
10 );
11
12 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Recycler\Task\CleanerTask::class] = array(
13 'extension' => 'recycler',
14 'title' => 'LLL:EXT:recycler/Resources/Private/Language/locallang_tasks.xlf:cleanerTaskTitle',
15 'description' => 'LLL:EXT:recycler/Resources/Private/Language/locallang_tasks.xlf:cleanerTaskDescription',
16 'additionalFields' => \TYPO3\CMS\Recycler\Task\CleanerFieldProvider::class
17 );