Log in
Model

UpdateHandler

Magento\Downloadable\Model\Sample\UpdateHandler

What it does

This class manages the update process for downloadable product samples in Magento 2.

It synchronizes sample data by saving new or modified samples and deleting any samples that were removed during product updates.

Developers use this through Magento's entity management system when saving downloadable products with sample files.

Public Methods

  • execute()