1234567891011121314151617181920212223242526 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
- <preference for="Magento\InventorySourceSelectionApi\Api\GetSourceSelectionAlgorithmListInterface"
- type="Magento\InventorySourceSelectionApi\Model\GetSourceSelectionAlgorithmList"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\SourceSelectionServiceInterface"
- type="Magento\InventorySourceSelectionApi\Model\SourceSelectionService"/>
- <type name="Magento\InventorySourceSelectionApi\Model\GetSourceSelectionAlgorithmList">
- <arguments>
- <argument name="availableAlgorithms" xsi:type="array">
- <item name="priority" xsi:type="array">
- <item xsi:type="string" name="code">priority</item>
- <item xsi:type="string" name="title" translatable="true">Source Priority</item>
- <item xsi:type="string" name="description" translatable="true">Algorithm which provides Source Selections based on predefined priority of Source</item>
- </item>
- </argument>
- </arguments>
- </type>
- </config>
|