Log in
Model

Publish

Magento\MediaGallerySynchronization\Model\Publish

What it does

This class publishes media gallery synchronization tasks to a message queue.

Developers use it when they need to trigger asynchronous synchronization of media files with the database, typically after uploading or importing media assets.

It allows bulk operations to be processed in the background without blocking the main application flow.

Public Methods

  • execute()