Log in
Model

AbstractTypeHandler

Magento\Downloadable\Model\Product\TypeHandler\AbstractTypeHandler

What it does

This abstract class provides a foundation for handling downloadable product components (links and samples) in Magento 2.

Developers extend this class to implement specific save, delete, and file handling logic for downloadable product data.

It manages the workflow of processing downloadable items including file attachments, deletions, and linking components to products.

Public Methods

  • getDataKey()
  • getIdentifierKey()
  • save()