<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Advanced Product Reviews Base for Magento 2
 */-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Review\Block\Form">
        <plugin name="Amasty_AdvancedReview::add-file-upload-control" type="Amasty\AdvancedReview\Plugin\Review\Block\Form" />
    </type>

    <type name="Magento\Review\Block\Product\View\ListView">
        <plugin name="Amasty_AdvancedReview::review-listview" type="Amasty\AdvancedReview\Plugin\Review\Block\Product\View\ListView" />
    </type>

    <type name="Magento\Review\Block\Product\Review">
        <plugin name="Amasty_AdvancedReview::fix-tab-bug" type="Amasty\AdvancedReview\Plugin\Review\Block\Product\ReviewPlugin" />
    </type>
</config>
