Log in
Helper

Data

Magento\Sitemap\Helper\Data

What it does

This helper class provides configuration values for Magento 2's sitemap generation functionality.

Developers use it to retrieve sitemap settings like maximum file size, URL limits, change frequencies, and priorities for categories, products, and CMS pages from the store configuration.

Note that this entire class is deprecated as of version 100.3.0, and developers should use the newer config reader classes instead.

Public Methods

  • getMaximumLinesNumber()
  • getMaximumFileSize()
  • getCategoryChangefreq()
  • getProductChangefreq()
  • getPageChangefreq()
  • getCategoryPriority()
  • getProductPriority()
  • getPagePriority()
  • getEnableSubmissionRobots()
  • getProductImageIncludePolicy()
  • getValidPaths()