Log in
Model

SaveHandler

Magento\Catalog\Model\Product\Link\SaveHandler

What it does

This class handles saving product link associations (related products, up-sells, cross-sells) when a product is saved.

Developers would use this as part of Magento's entity persistence layer to ensure product relationships are properly stored, including automatic position assignment when positions aren't explicitly set.

Public Methods

  • execute()