Log in
Interface

SynchronizeInterface

Magento\MediaContentSynchronizationApi\Api\SynchronizeInterface

What it does

This interface defines a contract for synchronizing media assets with content entities in Magento 2.

Developers implement this interface to create synchronization services that ensure media gallery assets are properly linked with content like products, categories, CMS pages, and blocks.

It's typically used when adding new content types that use media assets or when performing bulk media synchronization operations.

Public Methods

  • execute()