‪TYPO3CMS  9.5
ext_localconf.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['‪TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags']['metatag'] =
5  \‪TYPO3\CMS\Seo\MetaTag\MetaTagGenerator::class . '->generate';
6 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['‪TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags']['hreflang'] =
7  \‪TYPO3\CMS\Seo\HrefLang\HrefLangGenerator::class . '->generate';
8 ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['‪TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags']['canonical'] =
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 );
21 
22 // Add module configuration
23 \‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(trim('
24  config.pageTitleProviders {
25  seo {
27  before = record
28  after = altPageTitle
29  }
30  }
31 '));
‪TYPO3
‪TYPO3\CMS\Seo\PageTitle\SeoTitlePageTitleProvider
Definition: SeoTitlePageTitleProvider.php:26
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪$metaTagManagerRegistry
‪$metaTagManagerRegistry
Definition: ext_localconf.php:158