public function renderSeoTags(
        \Twig_Environment $twig,
        array $seoExtension,
        array $content,
        array $urls,
        $shadowBaseLocale
    ) {
        $template = 'SuluWebsiteBundle:Extension:seo.html.twig';

        @trigger_error(sprintf(
            'This twig extension is deprecated and should not be used anymore, include the "%s".',
            $template
        ));

        $defaultLocale = null;
        $portal = $this->requestAnalyzer->getPortal();
        if ($portal) {
            $defaultLocale = $portal->getXDefaultLocalization()->getLocale();
        }

        return $twig->render(
            $template,
            [
                'seo' => $seoExtension,
                'content' => $content,
                'urls' => $urls,
                'defaultLocale' => $defaultLocale,
                'shadowBaseLocale' => $shadowBaseLocale,
            ]
        );
    }