Log in

MediaContentApi Module

Api\Data\ContentAssetLinkInterface

Interface

This interface defines a data contract for linking media assets to content entities in Magento 2. Developers use it when working with the Media Galler...

Api\Data\ContentIdentityInterface

Interface

This interface defines a data structure that identifies where media content is located within Magento entities. Developers use it to track and referen...

Api\DeleteContentAssetLinksByAssetIdsInterface

Interface

This interface defines a contract for deleting relationships between media assets and content in Magento 2. Developers use this when they need to remo...

Api\DeleteContentAssetLinksInterface

Interface

This interface defines a contract for removing links between media assets (images, videos) and content entities (products, categories, CMS pages) in M...

Api\ExtractAssetsFromContentInterface

Interface

This interface defines a contract for extracting media asset references from content strings. Developers use this when they need to parse HTML, text,...

Api\GetAssetIdsByContentFieldInterface

Interface

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...

Api\GetAssetIdsByContentIdentityInterface

Interface

This interface defines a contract for retrieving media asset IDs that are associated with a specific piece of content in Magento 2. Developers use thi...

Api\GetContentByAssetIdsInterface

Interface

This interface defines a contract for retrieving content that references specific media assets. Developers use this to find all content pieces (like p...

Api\SaveContentAssetLinksInterface

Interface

This interface defines a contract for saving relationships between media assets and content in Magento 2. Developers implement this interface when the...

Api\UpdateContentAssetLinksInterface

Interface

This interface defines a contract for updating the relationships between media assets (images, videos, etc.) and content in Magento 2. Developers use...

Model\GetAssetIdsByContentFieldInterface

Interface

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...

Model\GetEntityContentsInterface

Interface

This interface defines a contract for retrieving content data from Magento entities based on their content identity. Developers use this to fetch conc...

Model\SearchPatternConfigInterface

Interface

This interface defines a contract for retrieving search patterns used to find media asset paths within content. Developers would use this to implement...