MediaContent Module
ContentAssetLink
This class represents a relationship between a media asset and content in Magento 2. Developers use this model to track which media files (images, vid...
ContentIdentity
This class represents the identity of content that contains media assets in Magento 2. Developers use it to track which specific entity (like a produc...
Content\Config\Converter
This converter transforms XML configuration for media content search patterns into a PHP array structure. Developers use this class when defining cust...
Content\Config\SchemaLocator
This class locates and provides the path to the XSD schema file used for validating Media Content configuration XML files. Developers would use this w...
Content\SearchPatternConfig
This class retrieves configured search patterns (regular expressions) used to find media asset paths within content fields. Developers use this when t...
DeleteContentAssetLinks
This model class removes the associations between media assets (images, videos, etc.) and content entities in Magento 2. Developers use this class whe...
DeleteContentAssetLinksByAssetIds
This class removes the relationships between media assets and content entities in Magento 2. Developers use this when media assets are deleted or no l...
ExtractAssetsFromContent
This class extracts media asset references from content strings (like HTML or text) by searching for patterns defined in configuration. Developers use...
GetAssetIdsByContentIdentity
This class retrieves all media asset IDs that are used within a specific content entity. Developers use it to find which media assets (images, videos,...
GetContentByAssetIds
This class retrieves content identities (entity type, ID, and field) where media assets are used across Magento. Developers use this to find all place...
SaveContentAssetLinks
This class saves relationships between media assets (images, videos) and the content entities where they are used in Magento 2. Developers use this wh...
UpdateContentAssetLinks
This class synchronizes the relationships between media assets (images, videos) and content entities (products, pages, blocks) by comparing current as...