Files

25 lines
1.2 KiB
XML

<?xml version="1.0"?>
<!--
* @package Plumrocket_CookieConsent
* @copyright Copyright (c) 2020 Plumrocket Inc. (https://plumrocket.com)
* @license https://plumrocket.com/license End-user License Agreement
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Cookie\Helper\Cookie">
<plugin name="pr-cookie-restriction-mode"
type="Plumrocket\CookieConsent\Plugin\Cookie\RestrictionMode" sortOrder="10"/>
</type>
<type name="Magento\Framework\Stdlib\CookieManagerInterface">
<plugin name="pr-cookie-filter"
type="Plumrocket\CookieConsent\Plugin\CookieManagerPlugin" sortOrder="10"/>
</type>
<type name="Magento\Framework\View\Result\Page">
<plugin name="pr-youtube-no-cookie-plugin"
type="Plumrocket\CookieConsent\Plugin\YouTubeNoCookiePlugin" sortOrder="-10"/>
</type>
<type name="Magento\Framework\App\Response\Http">
<plugin name="pr-cookie-update-head-scripts-tags"
type="\Plumrocket\CookieConsent\Plugin\Html\HeadScripts"/>
</type>
</config>