Log in
Model

DeleteHandler

Magento\Downloadable\Model\Sample\DeleteHandler

What it does

This class handles the deletion of downloadable samples when a downloadable product is deleted or updated.

It's automatically invoked by Magento's entity manager during product operations to clean up associated sample files and database records.

Developers typically don't call this directly as it's part of Magento's extension attribute persistence lifecycle.

Public Methods

  • execute()