Log in
Interface

TypeHandlerInterface

Magento\Downloadable\Model\Product\TypeHandler\TypeHandlerInterface

What it does

This interface defines the contract for handling specific types of downloadable product data (like links or samples) during product save operations.

Developers implement this interface when creating handlers for different downloadable product components, allowing the system to determine if a handler can process given data and then save it appropriately.

Public Methods

  • save()
  • isCanHandle()