[TASK] Removed leftovers of AltPageTitleProvider
[Packages/TYPO3.CMS.git] / typo3 / sysext / seo / ext_localconf.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags'][] =
5 \TYPO3\CMS\Seo\MetaTag\MetaTagGenerator::class . '->generate';
6 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags'][] =
7 \TYPO3\CMS\Seo\HrefLang\HrefLangGenerator::class . '->generate';
8 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags'][] =
9 \TYPO3\CMS\Seo\Canonical\CanonicalGenerator::class . '->generate';
10
11 $metaTagManagerRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
12 $metaTagManagerRegistry->registerManager(
13 'opengraph',
14 \TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager::class
15 );
16 $metaTagManagerRegistry->registerManager(
17 'twitter',
18 \TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager::class
19 );
20 unset($metaTagManagerRegistry);
21
22 // Add module configuration
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(trim('
24 config.pageTitleProviders {
25 seo {
26 provider = TYPO3\CMS\Seo\PageTitle\SeoTitlePageTitleProvider
27 before = record
28 }
29 }
30 '));