Log in
Model

CreateHandler

Magento\Downloadable\Model\Link\CreateHandler

What it does

This handler is responsible for creating and persisting downloadable links when a new downloadable product is saved in Magento 2.

It extracts downloadable links from the product's extension attributes and saves them through the LinkRepository.

Developers typically don't call this directly as it's invoked automatically by Magento's entity management system during product creation operations.

Public Methods

  • execute()