Classes/Page/Part/MetatagPart.php
protected function initExtensionSupportNews()
    {
        if (empty($GLOBALS['TSFE']->register)) {
            return;
        }

        /** @var \Metaseo\Metaseo\Connector $connector */
        $connector = $this->objectManager->get('Metaseo\\Metaseo\\Connector');

        if (isset($GLOBALS['TSFE']->register['newsTitle'])) {
            $connector->setMetaTag('title', $GLOBALS['TSFE']->register['newsTitle']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthor'])) {
            $connector->setMetaTag('author', $GLOBALS['TSFE']->register['newsAuthor']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthoremail'])) {
            $connector->setMetaTag('email', $GLOBALS['TSFE']->register['newsAuthoremail']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthorEmail'])) {
            $connector->setMetaTag('email', $GLOBALS['TSFE']->register['newsAuthorEmail']);
        }

        if (isset($GLOBALS['TSFE']->register['newsKeywords'])) {
            $connector->setMetaTag('keywords', $GLOBALS['TSFE']->register['newsKeywords']);
        }

        if (isset($GLOBALS['TSFE']->register['newsTeaser'])) {
            $connector->setMetaTag('description', $GLOBALS['TSFE']->register['newsTeaser']);
        }
    }
protected function initExtensionSupportNews()
    {
        if (empty($GLOBALS['TSFE']->register)) {
            return;
        }

        /** @var \Metaseo\Metaseo\Connector $connector */
        $connector = $this->objectManager->get('Metaseo\\Metaseo\\Connector');

        if (isset($GLOBALS['TSFE']->register['newsTitle'])) {
            $connector->setMetaTag('title', $GLOBALS['TSFE']->register['newsTitle']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthor'])) {
            $connector->setMetaTag('author', $GLOBALS['TSFE']->register['newsAuthor']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthoremail'])) {
            $connector->setMetaTag('email', $GLOBALS['TSFE']->register['newsAuthoremail']);
        }

        if (isset($GLOBALS['TSFE']->register['newsAuthorEmail'])) {
            $connector->setMetaTag('email', $GLOBALS['TSFE']->register['newsAuthorEmail']);
        }

        if (isset($GLOBALS['TSFE']->register['newsKeywords'])) {
            $connector->setMetaTag('keywords', $GLOBALS['TSFE']->register['newsKeywords']);
        }

        if (isset($GLOBALS['TSFE']->register['newsTeaser'])) {
            $connector->setMetaTag('description', $GLOBALS['TSFE']->register['newsTeaser']);
        }
    }
protected function initExtensionSupportNews ( ) { if ( empty ( $ GLOBALS [ 'TSFE' ] -> register ) ) { return ; } /** @var \Metaseo\Metaseo\Connector $connector */ $ connector = $ this -> objectManager -> get ( 'Metaseo\\Metaseo\\Connector' ) ; if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsTitle' ] ) ) { $ connector -> setMetaTag ( 'title' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsTitle' ] ) ; } if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthor' ] ) ) { $ connector -> setMetaTag ( 'author' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthor' ] ) ; } if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthoremail' ] ) ) { $ connector -> setMetaTag ( 'email' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthoremail' ] ) ; } if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthorEmail' ] ) ) { $ connector -> setMetaTag ( 'email' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsAuthorEmail' ] ) ; } if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsKeywords' ] ) ) { $ connector -> setMetaTag ( 'keywords' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsKeywords' ] ) ; } if ( isset ( $ GLOBALS [ 'TSFE' ] -> register [ 'newsTeaser' ] ) ) { $ connector -> setMetaTag ( 'description' , $ GLOBALS [ 'TSFE' ] -> register [ 'newsTeaser' ] ) ; } }
Init extension support for "news" extension
Init extension support for news extension