Log in
Model

GetAssetIdsByBlockStore

Magento\MediaContentCms\Model\ResourceModel\GetAssetIdsByBlockStore

What it does

This class retrieves all media asset IDs that are associated with CMS blocks in a specific store.

Developers would use this when they need to find which media assets (images, videos, etc.) are being used by CMS blocks within a particular store view, such as for media gallery management or cleanup operations.

Public Methods

  • execute()