Log in
Model

SitemapConfigReader

Magento\Sitemap\Model\SitemapConfigReader

What it does

This class reads sitemap-related configuration settings from Magento's system configuration.

Developers use it to retrieve settings like maximum file size, lines per sitemap, product image inclusion policy, robots.txt submission preferences, and valid file paths for sitemap generation.

It provides a centralized way to access all sitemap configuration values scoped to specific stores.

Public Methods

  • getEnableSubmissionRobots()
  • getMaximumFileSize()
  • getMaximumLinesNumber()
  • getProductImageIncludePolicy()
  • getValidPaths()