Log in
Model

Synchronize

Magento\MediaContentSynchronization\Model\Synchronize

What it does

This class orchestrates the synchronization of media content with assets in Magento 2.

Developers use this to ensure that references to media files in content (like products, pages, blocks) are properly tracked and linked to their actual asset files.

It coordinates multiple synchronizers, handles errors, tracks execution time, and cleans up obsolete content-asset relationships.

Public Methods

  • execute()