Log in
Model

GetAssetIdsByProductStore

Magento\MediaContentCatalog\Model\ResourceModel\GetAssetIdsByProductStore

What it does

This class retrieves media asset IDs that are associated with products in a specific store.

Developers use this class when they need to find all media content (images, videos, etc.) linked to products that belong to a particular store or website, which is useful for content synchronization, cleanup operations, or media management tasks across multi-store setups.

Public Methods

  • execute()