Files
2026-09-15 10:35:56 +08:00

17 lines
734 B
XML

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Review\Block\Product\ReviewRenderer">
<plugin name="esun_review_renderer"
type="Esun\Review\Plugin\ReviewRendererPlugin"/>
</type>
<type name="Magento\Review\Model\Review">
<plugin name="esun_review_image_save"
type="Esun\Review\Plugin\Review\SaveImagesPlugin"/>
</type>
<type name="Magento\Review\Controller\Product\Post">
<plugin name="esun_review_require_customer"
type="Esun\Review\Plugin\Review\PostGuestGuardPlugin"/>
</type>
</config>