di.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <preference for="Magento\InventoryLowQuantityNotificationApi\Api\Data\SourceItemConfigurationInterface"
  10. type="Magento\InventoryLowQuantityNotification\Model\SourceItemConfiguration"/>
  11. <preference for="Magento\InventoryLowQuantityNotificationApi\Api\SourceItemConfigurationsSaveInterface"
  12. type="Magento\InventoryLowQuantityNotification\Model\SourceItemConfiguration\SaveMultiple"/>
  13. <preference for="Magento\InventoryLowQuantityNotificationApi\Api\GetSourceItemConfigurationInterface"
  14. type="Magento\InventoryLowQuantityNotification\Model\SourceItemConfiguration\Get"/>
  15. <preference for="Magento\InventoryLowQuantityNotificationApi\Api\DeleteSourceItemsConfigurationInterface"
  16. type="Magento\InventoryLowQuantityNotification\Model\SourceItemConfiguration\DeleteMultiple"/>
  17. <type name="Magento\InventoryCatalogApi\Api\BulkInventoryTransferInterface">
  18. <plugin name="inventory_low_quantity_bulk_transfer"
  19. type="Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkConfigurationTransferInterfacePlugin"/>
  20. </type>
  21. <type name="Magento\InventoryCatalogApi\Api\BulkSourceAssignInterface">
  22. <plugin name="inventory_low_quantity_bulk_source_assign"
  23. type="Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceAssignInterfacePlugin"/>
  24. </type>
  25. <type name="Magento\InventoryCatalogApi\Api\BulkSourceUnassignInterface">
  26. <plugin name="inventory_low_quantity_bulk_source_unassign"
  27. type="Magento\InventoryLowQuantityNotification\Plugin\InventoryCatalogApi\BulkSourceUnassignInterfacePlugin"/>
  28. </type>
  29. <type name="Magento\InventoryApi\Api\SourceItemsDeleteInterface">
  30. <plugin name="inventory_low_quantity_notification_source_item_delete"
  31. type="Magento\InventoryLowQuantityNotification\Plugin\InventoryApi\SourceItemsDeleteInterfacePlugin"/>
  32. </type>
  33. <type name="Magento\InventoryLowQuantityNotificationApi\Api\SourceItemConfigurationsSaveInterface">
  34. <plugin name="update_legacy_stock_item_configuration_at_source_item_configuration_save"
  35. type="Magento\InventoryLowQuantityNotification\Plugin\InventoryLowQuantityNotificationApi\UpdateLegacyStockItemConfigurationAtSourceItemConfigurationSavePlugin"/>
  36. </type>
  37. </config>