Log in
Model

CreateHandler

Magento\Catalog\Model\Product\Gallery\CreateHandler

What it does

This class handles the creation and management of product gallery images in Magento 2's catalog system.

Developers use this when products are saved to process new images, move them from temporary storage, handle image duplication for product copies, and update media attributes like image, small_image, and thumbnail across different store views.

Public Methods

  • execute()
  • getAttribute()