Log in
Model

GetContentHash

Magento\MediaGallerySynchronization\Model\GetContentHash

What it does

This model class generates a SHA-1 hash of media file content for synchronization purposes.

Developers use this when comparing media assets to detect changes or duplicates in the Media Gallery, as identical content will produce the same hash value regardless of filename or location.

Public Methods

  • execute()