‪TYPO3CMS  ‪main
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
29 
30 defined('TYPO3') or die();
31 
32 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][‪GeneralUtility::class]['moveUploadedFile'][] = ‪SvgHookHandler::class . '->processMoveUploadedFile';
33 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪FileMetadataPermissionsAspect::class;
34 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪BackendUserGroupIntegrityCheck::class;
35 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪BackendUserPasswordCheck::class;
36 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkModifyAccessList'][] = ‪FileMetadataPermissionsAspect::class;
37 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['checkModifyAccessList'][] = ‪FilePermissionAspect::class;
38 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪FilePermissionAspect::class;
39 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪DestroySessionHook::class;
40 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = ‪PagesTsConfigGuard::class;
41 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][‪CreateSiteConfiguration::class] = ‪CreateSiteConfiguration::class;
42 ‪$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['dumpFile'] = ‪FileDumpController::class . '::dumpAction';
43 
45 ‪$rendererRegistry->registerRendererClass(‪AudioTagRenderer::class);
46 ‪$rendererRegistry->registerRendererClass(‪VideoTagRenderer::class);
47 ‪$rendererRegistry->registerRendererClass(‪YouTubeRenderer::class);
48 ‪$rendererRegistry->registerRendererClass(‪VimeoRenderer::class);
50 
52 ‪$textExtractorRegistry->registerTextExtractor(‪PlainTextExtractor::class);
54 
56 ‪$extractorRegistry->registerExtractionService(‪Extractor::class);
58 
59 // Register base authentication service
61  'core',
62  'auth',
64  [
65  'title' => 'User authentication',
66  '‪description' => 'Authentication with username/password.',
67  'subtype' => 'getUserBE,getUserFE,authUserBE,authUserFE,processLoginDataBE,processLoginDataFE',
68  'available' => true,
69  'priority' => 50,
70  'quality' => 50,
71  'os' => '',
72  'exec' => '',
73  'className' => ‪TYPO3\CMS\Core\Authentication\‪AuthenticationService::class,
74  ]
75 );
76 
78 ‪$metaTagManagerRegistry->registerManager(
79  'html5',
81 );
82 ‪$metaTagManagerRegistry->registerManager(
83  'edge',
85 );
87 
88 // Add module configuration
89 ‪ExtensionManagementUtility::addTypoScriptSetup(
90  'config.pageTitleProviders.record.provider = ‪TYPO3\CMS\Core\PageTitle\RecordPageTitleProvider'
91 );
92 
93 // Register preset for sys_news
94 ‪if (empty(‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['sys_news'])) {
95  ‪$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['sys_news'] = 'EXT:core/Configuration/RTE/SysNews.yaml';
96 }
‪TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer
Definition: VimeoRenderer.php:30
‪$extractorRegistry
‪$extractorRegistry
Definition: ext_localconf.php:55
‪TYPO3\CMS\Core\Hooks\PagesTsConfigGuard
Definition: PagesTsConfigGuard.php:26
‪TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer
Definition: VideoTagRenderer.php:23
‪TYPO3
‪if
‪if(PHP_SAPI !=='cli')
Definition: splitAcceptanceTests.php:34
‪TYPO3\CMS\Core\Resource\Index\ExtractorRegistry
Definition: ExtractorRegistry.php:25
‪TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry
Definition: MetaTagManagerRegistry.php:28
‪TYPO3\CMS\Core\MetaTag\Html5MetaTagManager
Definition: Html5MetaTagManager.php:21
‪TYPO3\CMS\Core\Resource\Security\FilePermissionAspect
Definition: FilePermissionAspect.php:41
‪TYPO3\CMS\Core\Hooks\CreateSiteConfiguration
Definition: CreateSiteConfiguration.php:43
‪TYPO3\CMS\Core\Resource\Rendering\AudioTagRenderer
Definition: AudioTagRenderer.php:23
‪TYPO3\CMS\Core\Resource\Security\SvgHookHandler
Definition: SvgHookHandler.php:24
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Definition: ExtensionManagementUtility.php:32
‪TYPO3\CMS\Core\Resource\TextExtraction\TextExtractorRegistry
Definition: TextExtractorRegistry.php:23
‪TYPO3\CMS\Core\Controller\FileDumpController
Definition: FileDumpController.php:41
‪TYPO3\CMS\Core\Hooks\BackendUserPasswordCheck
Definition: BackendUserPasswordCheck.php:31
‪TYPO3\CMS\Core\Resource\OnlineMedia\Metadata\Extractor
Definition: Extractor.php:24
‪$textExtractorRegistry
‪$textExtractorRegistry
Definition: ext_localconf.php:51
‪TYPO3\CMS\Core\Hooks\DestroySessionHook
Definition: DestroySessionHook.php:25
‪TYPO3\CMS\Core\Authentication\AuthenticationService
Definition: AuthenticationService.php:32
‪TYPO3\CMS\Core\Hooks\BackendUserGroupIntegrityCheck
Definition: BackendUserGroupIntegrityCheck.php:31
‪TYPO3\CMS\Core\Resource\Rendering\YouTubeRenderer
Definition: YouTubeRenderer.php:30
‪TYPO3\CMS\Core\MetaTag\EdgeMetaTagManager
Definition: EdgeMetaTagManager.php:21
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Redirects\Message\description
‪identifier description
Definition: RedirectWasHitMessage.php:32
‪TYPO3\CMS\Core\Resource\TextExtraction\PlainTextExtractor
Definition: PlainTextExtractor.php:25
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:52
‪TYPO3\CMS\Core\Resource\Security\FileMetadataPermissionsAspect
Definition: FileMetadataPermissionsAspect.php:33
‪$rendererRegistry
‪$rendererRegistry
Definition: ext_localconf.php:44
‪TYPO3\CMS\Core\Resource\Rendering\RendererRegistry
Definition: RendererRegistry.php:23
‪$metaTagManagerRegistry
‪$metaTagManagerRegistry
Definition: ext_localconf.php:77