[!!!][TASK] Migrate pages_language_overlay into pages
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / ext_localconf.php
index 946a78c..2106549 100644 (file)
@@ -31,12 +31,14 @@ unset($extbaseObjectContainer);
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter(\TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter::class);
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter(\TYPO3\CMS\Extbase\Property\TypeConverter\FolderConverter::class);
 
-if (TYPO3_MODE === 'BE') {
-       // registers Extbase at the cli_dispatcher with key "extbase".
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['extbase'] = array(
-               'EXT:extbase/Scripts/CommandLineLauncher.php',
-               '_CLI_lowlevel'
-       );
-       // register help command
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \TYPO3\CMS\Extbase\Command\HelpCommandController::class;
-}
+// register help command
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \TYPO3\CMS\Extbase\Command\HelpCommandController::class;
+
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Extbase\Scheduler\Task::class] = [
+    'extension' => 'extbase',
+    'title' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.name',
+    'description' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.description',
+    'additionalFields' => \TYPO3\CMS\Extbase\Scheduler\FieldProvider::class
+];
+
+$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkFlexFormValue'][] = \TYPO3\CMS\Extbase\Hook\DataHandler\CheckFlexFormValue::class;