Log in
Model

UpdateHandler

Magento\Catalog\Model\Product\Gallery\UpdateHandler

What it does

This class handles updates to product gallery images in Magento 2's catalog system.

Developers use this when modifying existing product images, such as adding new images, removing deleted ones, or updating image properties.

It extends CreateHandler and manages the entire lifecycle of image updates including cleanup of deleted files and cache invalidation.