‪TYPO3CMS  9.5
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // We set the default implementation for Storage Backend & Query Settings in Backend and Frontend.
5 // The code below is NO PUBLIC API!
7 ‪$extbaseObjectContainer = \‪TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\‪TYPO3\CMS\‪Extbase\Object\Container\Container::class);
8 // Singleton
9 ‪$extbaseObjectContainer->registerImplementation(\‪TYPO3\CMS\‪Extbase\Persistence\QueryInterface::class, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\Query::class);
10 ‪$extbaseObjectContainer->registerImplementation(\‪TYPO3\CMS\‪Extbase\Persistence\QueryResultInterface::class, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\QueryResult::class);
11 ‪$extbaseObjectContainer->registerImplementation(\‪TYPO3\CMS\‪Extbase\Persistence\PersistenceManagerInterface::class, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\PersistenceManager::class);
12 ‪$extbaseObjectContainer->registerImplementation(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Storage\BackendInterface::class, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\Storage\Typo3DbBackend::class);
13 ‪$extbaseObjectContainer->registerImplementation(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\QuerySettingsInterface::class, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\Typo3QuerySettings::class);
15 
16 // Register type converters
17 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\ArrayConverter::class);
18 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\BooleanConverter::class);
19 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\DateTimeConverter::class);
20 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\FloatConverter::class);
21 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\IntegerConverter::class);
22 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\ObjectStorageConverter::class);
23 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\PersistentObjectConverter::class);
24 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\ObjectConverter::class);
25 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\StringConverter::class);
26 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\CoreTypeConverter::class);
27 // Experimental FAL<->extbase converters
28 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\FileConverter::class);
29 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\FileReferenceConverter::class);
30 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\FolderBasedFileCollectionConverter::class);
31 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\StaticFileCollectionConverter::class);
32 \‪TYPO3\CMS\‪Extbase\Utility\ExtensionUtility::registerTypeConverter(\‪TYPO3\CMS\‪Extbase\Property\TypeConverter\FolderConverter::class);
33 
34 // register help command
35 // @deprecated will be removed in TYPO3 v10.0. Use symfony/console commands instead
36 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = \‪TYPO3\CMS\‪Extbase\Command\HelpCommandController::class;
37 
38 // @deprecated will be removed in TYPO3 v10.0. Use symfony/console commands instead
39 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\‪TYPO3\CMS\‪Extbase\Scheduler\Task::class] = [
40  'extension' => 'extbase',
41  'title' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.name',
42  'description' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:task.description',
43  'additionalFields' => \‪TYPO3\CMS\‪Extbase\Scheduler\FieldProvider::class
44 ];
45 
46 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkFlexFormValue'][] = \‪TYPO3\CMS\‪Extbase\Hook\DataHandler\CheckFlexFormValue::class;
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪$extbaseObjectContainer
‪$extbaseObjectContainer
Definition: ext_localconf.php:7