Log in
Interface

UpdateContentAssetLinksInterface

Magento\MediaContentApi\Api\UpdateContentAssetLinksInterface

What it does

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

Developers use this when they need to synchronize which media files are linked to specific content entities, automatically assigning new media assets found in the content and removing links to assets no longer referenced.

Public Methods

  • execute()