XmlSitemapDataProviderInterface
Interface for XmlSitemapDataProviders, which are called by the XmlSitemapRenderer.
Implementations are stateless services receiving all runtime information via XmlSitemapRequest, which allows them to use dependency injection for their own dependencies.
Attributes
- #[AutoconfigureTag]
- 'seo.xmlsitemap.provider'
Table of Contents
Methods
Methods
getSitemap()
public
getSitemap(XmlSitemapRequest $sitemapRequest) : XmlSitemap
Parameters
- $sitemapRequest : XmlSitemapRequest