di.xml 907 B

123456789101112131415161718
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  10. <preference for="Magento\InventoryApi\Model\StockSourceLinkValidatorInterface"
  11. type="Magento\InventoryApi\Model\StockSourceLinkValidatorChain" />
  12. <preference for="Magento\InventoryApi\Model\StockValidatorInterface"
  13. type="Magento\InventoryApi\Model\StockValidatorChain"/>
  14. <preference for="Magento\InventoryApi\Model\SourceItemValidatorInterface"
  15. type="Magento\InventoryApi\Model\SourceItemValidatorChain"/>
  16. <preference for="Magento\InventoryApi\Model\SourceValidatorInterface"
  17. type="Magento\InventoryApi\Model\SourceValidatorChain"/>
  18. </config>