<?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\Framework\Api\ImageProcessor">
        <plugin name="markshust_polyshell_restrict_upload_extensions"
                type="MarkShust\PolyshellPatch\Plugin\ImageProcessorRestrictExtensions"/>
    </type>
    <type name="Magento\Framework\Api\ImageContentValidator">
        <plugin name="markshust_polyshell_validate_file_extension"
                type="MarkShust\PolyshellPatch\Plugin\ImageContentValidatorExtension"/>
    </type>
</config>
