Log in
Model

DeleteMultiple

Magento\Inventory\Model\ResourceModel\StockSourceLink\DeleteMultiple

What it does

This class handles the bulk deletion of stock-source links from the database in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to remove multiple associations between stocks and sources efficiently in a single database operation, rather than deleting them one at a time.

It's particularly useful during stock configuration changes or when removing source assignments from stocks.

Public Methods

  • execute()