Interface
ItemProviderInterface
Magento\Sitemap\Model\ItemProvider\ItemProviderInterface
What it does
This interface defines a contract for classes that provide items to be included in Magento's XML sitemap generation.
Developers implement this interface to add custom content types (like products, categories, CMS pages, or custom entities) to the sitemap, allowing search engines to discover and index them.
Public Methods
- getItems()