Interface
DeleteContentAssetLinksInterface
Magento\MediaContentApi\Api\DeleteContentAssetLinksInterface
What it does
This interface defines a contract for removing links between media assets (images, videos) and content entities (products, categories, CMS pages) in Magento 2.
Developers would use this when they need to dissociate media files from content, such as when removing an image from a product or cleaning up orphaned media references during content updates or deletions.
Public Methods
- execute()