<?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">
    <type name="Magento\Customer\Model\Customer\DataProviderWithDefaultAddresses">
        <plugin name="login_as_customer_customer_data_provider_plugin"
                type="Magento\LoginAsCustomerAssistance\Plugin\DataProviderWithDefaultAddressesPlugin"/>
    </type>
    <type name="Magento\Customer\Model\Metadata\Form">
        <plugin name="login_as_customer_customer_data_validate_plugin"
                type="Magento\LoginAsCustomerAssistance\Plugin\CustomerDataValidatePlugin"/>
    </type>
    <type name="Magento\LoginAsCustomerAdminUi\Ui\Customer\Component\Button\DataProvider">
        <plugin name="login_as_customer_button_data_provider_plugin"
                type="Magento\LoginAsCustomerAssistance\Plugin\LoginAsCustomerButtonDataProviderPlugin"/>
    </type>
</config>
