Log in
Model

SaveMetadataToFile

Magento\MediaGalleryUi\Model\UpdateAsset\SaveMetadataToFile

What it does

This class saves metadata information (like title, description, keywords) directly into image files in the Magento media gallery.

Developers use this when they need to persist metadata changes to the actual media files on disk, ensuring metadata is embedded in the file itself rather than just stored in the database.

Public Methods

  • execute()