Log in
Model

StockSourceLinkValidatorChain

Magento\InventoryApi\Model\StockSourceLinkValidatorChain

What it does

This class coordinates multiple validators to check if a stock-source link is valid before saving.

Developers use it to ensure data integrity when linking inventory sources to stocks, and can extend it by adding custom validators through dependency injection configuration to enforce business rules.

Public Methods

  • validate()