Log in
Model

Category

Magento\Sitemap\Model\ResourceModel\Catalog\Category

What it does

This resource model retrieves category data for XML sitemap generation in Magento 2.

Developers use this class when implementing custom sitemap functionality or extending the default sitemap to include filtered category collections with their URLs, update dates, and active status for a specific store view.

Public Methods

  • getCollection()