Log in
Model

StockSourceLinkProcessor

Magento\InventoryAdminUi\Model\Stock\StockSourceLinkProcessor

What it does

This class processes stock-source link assignments when saving stock configuration in the Magento admin panel.

It implements a replace strategy that compares new source assignments with existing ones, creating/updating links for new sources and deleting links for removed sources.

Developers use this during stock save operations to ensure source assignments are properly synchronized with authorization checks.

Public Methods

  • process()