[CLEANUP] MENU Content Object classes
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'FE' && !isset($_REQUEST['eID'])) {
5 \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)->connect(
6 \TYPO3\CMS\Core\Resource\Index\MetaDataRepository::class,
7 'recordPostRetrieval',
8 \TYPO3\CMS\Frontend\Aspect\FileMetadataOverlayAspect::class,
9 'languageAndWorkspaceOverlay'
10 );
11 }
12
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript(
14 'frontend',
15 'setup',
16 'config.extTarget = _top'
17 );
18
19
20 if (TYPO3_MODE === 'FE') {
21
22 // Register eID provider for showpic
23 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_cms_showpic'] = 'EXT:frontend/Resources/PHP/Eid/ShowPic.php';
24 // Register eID provider for ExtDirect for the frontend
25 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['ExtDirect'] = 'EXT:frontend/Resources/PHP/Eid/ExtDirect.php';
26
27 // Register the core media wizard provider
28 \TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderManager::registerMediaWizardProvider(\TYPO3\CMS\Frontend\MediaWizard\MediaWizardProvider::class);
29
30 // Register all available content objects
31 $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects'] = array_merge($GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects'], array(
32 'TEXT' => \TYPO3\CMS\Frontend\ContentObject\TextContentObject::class,
33 'CASE' => \TYPO3\CMS\Frontend\ContentObject\CaseContentObject::class,
34 'COBJ_ARRAY' => \TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::class,
35 'COA' => \TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::class,
36 'COA_INT' => \TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayInternalContentObject::class,
37 'USER' => \TYPO3\CMS\Frontend\ContentObject\UserContentObject::class,
38 'USER_INT' => \TYPO3\CMS\Frontend\ContentObject\UserInternalContentObject::class,
39 'FILE' => \TYPO3\CMS\Frontend\ContentObject\FileContentObject::class,
40 'FILES' => \TYPO3\CMS\Frontend\ContentObject\FilesContentObject::class,
41 'IMAGE' => \TYPO3\CMS\Frontend\ContentObject\ImageContentObject::class,
42 'IMG_RESOURCE' => \TYPO3\CMS\Frontend\ContentObject\ImageResourceContentObject::class,
43 'CONTENT' => \TYPO3\CMS\Frontend\ContentObject\ContentContentObject::class,
44 'RECORDS' => \TYPO3\CMS\Frontend\ContentObject\RecordsContentObject::class,
45 'HMENU' => \TYPO3\CMS\Frontend\ContentObject\HierarchicalMenuContentObject::class,
46 'CASEFUNC' => \TYPO3\CMS\Frontend\ContentObject\CaseContentObject::class,
47 'LOAD_REGISTER' => \TYPO3\CMS\Frontend\ContentObject\LoadRegisterContentObject::class,
48 'RESTORE_REGISTER' => \TYPO3\CMS\Frontend\ContentObject\RestoreRegisterContentObject::class,
49 'TEMPLATE' => \TYPO3\CMS\Frontend\ContentObject\TemplateContentObject::class,
50 'FLUIDTEMPLATE' => \TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::class,
51 'MULTIMEDIA' => \TYPO3\CMS\Frontend\ContentObject\MultimediaContentObject::class,
52 'MEDIA' => \TYPO3\CMS\Frontend\ContentObject\MediaContentObject::class,
53 'SWFOBJECT' => \TYPO3\CMS\Frontend\ContentObject\ShockwaveFlashObjectContentObject::class,
54 'FLOWPLAYER' => \TYPO3\CMS\Frontend\ContentObject\FlowPlayerContentObject::class,
55 'QTOBJECT' => \TYPO3\CMS\Frontend\ContentObject\QuicktimeObjectContentObject::class,
56 'SVG' => \TYPO3\CMS\Frontend\ContentObject\ScalableVectorGraphicsContentObject::class,
57 'EDITPANEL' => \TYPO3\CMS\Frontend\ContentObject\EditPanelContentObject::class
58 ));
59 }