61280492c8ceb49264e4189cbb8fe1568fd50dea
[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
7 $metaTagManagerRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
8 $metaTagManagerRegistry->registerManager(
9 'opengraph',
10 \TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager::class
11 );
12 $metaTagManagerRegistry->registerManager(
13 'twitter',
14 \TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager::class
15 );
16 unset($metaTagManagerRegistry);