Model

BulkSourceAssignValidatorChain

Magento\InventoryCatalogApi\Model\BulkSourceAssignValidatorChain

What it does

This class orchestrates multiple validators when bulk assigning inventory sources to products.

Developers use this as an extension point to add custom validation logic through dependency injection when products need to be assigned to inventory sources in bulk operations.

It collects and returns all validation errors from the chain of validators.

Public Methods

  • validate()