Model
DefaultSourceUseForPickupLocationValidator
Magento\InventoryInStorePickup\Model\Source\Validator\DefaultSourceUseForPickupLocationValidator
What it does
This validator ensures that Magento's default inventory source cannot be configured as an in-store pickup location.
Developers use this class to enforce business rules that prevent merchants from enabling pickup functionality on the default source, which is reserved for general inventory management purposes.
Public Methods
- validate()