<?xml version="1.0"?>
<!--
/**
 * Mondial Relay & InPost Shipping Module
 *
 * @author    Magentix
 * @copyright Copyright © 2024 Magentix. All rights reserved.
 * @license   https://www.magentix.fr/en/licence.html Magentix Software Licence
 * @link      https://mondialrelay.magentix.fr/
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Backend\Block\Widget\Button\Toolbar">
        <plugin name="mondialrelay_shipping_return_shipping_label_action" type="MondialRelay\Shipping\Plugin\Backend\OrderReturnShippingLabelAction" sortOrder="100" />
        <plugin name="mondialrelay_shipping_order_back_action" type="MondialRelay\Shipping\Plugin\Backend\OrderBackAction" sortOrder="110" />
    </type>
    <type name="Magento\Shipping\Controller\Adminhtml\Order\Shipment\Save">
        <plugin name="mondialrelay_shipping_auto_create_shipping_label" type="MondialRelay\Shipping\Plugin\Backend\AutoCreateShippingLabel" sortOrder="110" />
    </type>
</config>
