XmlSitemapDataProviderPass

final readonly class \TYPO3\CMS\Seo\DependencyInjection\XmlSitemapDataProviderPass

Implements
CompilerPassInterface

Removes the sitemap data provider tag from providers based on the deprecated AbstractXmlSitemapDataProvider. Those receive their runtime information as constructor arguments, which the container can not autowire. They are instantiated by XmlSitemapFactory instead.

Deprecated

since TYPO3 v15.0, will be removed in TYPO3 v16.0 together with AbstractXmlSitemapDataProvider.

Table of Contents

Interfaces

CompilerPassInterface

Methods

__construct()  : mixed
process()  : void

Methods

__construct()

public __construct(string $tagName) : mixed

Parameters

$tagName : string

process()

public process(ContainerBuilder $container) : void

Parameters

$container : ContainerBuilder
On this page