Log in
Interface

GetAssetIdsByContentFieldInterface

Magento\MediaContentApi\Model\GetAssetIdsByContentFieldInterface

What it does

This interface defines a contract for retrieving media asset IDs based on content field values.

Developers use this when they need to find which media assets are referenced within a specific content field, such as finding all images used in a CMS page description or product description field.

Public Methods

  • execute()