MediaContentApi Module
Api\Data\ContentAssetLinkInterface
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
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
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
This interface defines a contract for removing links between media assets (images, videos) and content entities (products, categories, CMS pages) in M...
Api\ExtractAssetsFromContentInterface
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
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
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
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
This interface defines a contract for saving relationships between media assets and content in Magento 2. Developers implement this interface when the...
Api\UpdateContentAssetLinksInterface
This interface defines a contract for updating the relationships between media assets (images, videos, etc.) and content in Magento 2. Developers use...
Model\GetAssetIdsByContentFieldInterface
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
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
This interface defines a contract for retrieving search patterns used to find media asset paths within content. Developers would use this to implement...