From d938e7bcab3f4620d5d0facb23a05ab81304e988 Mon Sep 17 00:00:00 2001 From: Lukasz Bajsarowicz Date: Fri, 24 Apr 2020 10:23:40 +0200 Subject: [PATCH] Migrate Plugin out of Framework (to Theme module) --- app/code/Magento/Store/etc/di.xml | 1 - .../code/Magento/Theme}/Plugin/LoadDesignPlugin.php | 2 +- app/code/Magento/Theme/etc/di.xml | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) rename {lib/internal/Magento/Framework/App/Action => app/code/Magento/Theme}/Plugin/LoadDesignPlugin.php (97%) diff --git a/app/code/Magento/Store/etc/di.xml b/app/code/Magento/Store/etc/di.xml index 5bd8f6e2349fc..2da9e91e1fddd 100644 --- a/app/code/Magento/Store/etc/di.xml +++ b/app/code/Magento/Store/etc/di.xml @@ -65,7 +65,6 @@ - diff --git a/lib/internal/Magento/Framework/App/Action/Plugin/LoadDesignPlugin.php b/app/code/Magento/Theme/Plugin/LoadDesignPlugin.php similarity index 97% rename from lib/internal/Magento/Framework/App/Action/Plugin/LoadDesignPlugin.php rename to app/code/Magento/Theme/Plugin/LoadDesignPlugin.php index 2cda49c43c2ce..96258c2184ab8 100644 --- a/lib/internal/Magento/Framework/App/Action/Plugin/LoadDesignPlugin.php +++ b/app/code/Magento/Theme/Plugin/LoadDesignPlugin.php @@ -4,7 +4,7 @@ * See COPYING.txt for license details. */ -namespace Magento\Framework\App\Action\Plugin; +namespace Magento\Theme\Plugin; use Magento\Framework\App\ActionInterface; use Magento\Framework\Config\Dom\ValidationException; diff --git a/app/code/Magento/Theme/etc/di.xml b/app/code/Magento/Theme/etc/di.xml index 921e6bfc6ecf1..3acd910f98151 100644 --- a/app/code/Magento/Theme/etc/di.xml +++ b/app/code/Magento/Theme/etc/di.xml @@ -104,6 +104,9 @@ Magento\Store\Model\ScopeInterface::SCOPE_STORE + + +