Log in
Model

GetAssetIdsByCategoryStore

Magento\MediaContentCatalog\Model\ResourceModel\GetAssetIdsByCategoryStore

What it does

This class retrieves all media asset IDs associated with categories within a specific store view.

Developers would use this when they need to find all images and media content used by categories that belong to a particular store's category tree, which is useful for media synchronization, cleanup operations, or reporting.

Public Methods

  • execute()