Log in
Collection

Sitemap\Collection

Magento\Sitemap\Model\ResourceModel\Sitemap\Collection

What it does

This collection class manages groups of sitemap records in Magento 2.

Developers use it to retrieve, filter, and manipulate multiple sitemap entities from the database, particularly when needing to load sitemaps for specific stores using the addStoreFilter method.

Public Methods

  • _construct()
  • addStoreFilter()