CreateHandler
Magento\Catalog\Model\Product\Gallery\CreateHandler
What it does
This class handles the creation and management of product gallery images during product save operations in Magento 2.
Developers interact with this class when programmatically adding, updating, or duplicating product images, including handling image uploads from temporary directories, managing image attributes (like base image, small image, thumbnail), and their store-specific labels and positions.
It's automatically invoked by Magento's entity manager when saving products with gallery data.
Public Methods
- execute()
- getAttribute()