Skip to content

Commit d938e7b

Browse files
committed
Migrate Plugin out of Framework (to Theme module)
1 parent d4a9098 commit d938e7b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app/code/Magento/Store/etc/di.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
<preference for="Magento\Framework\App\Router\PathConfigInterface" type="Magento\Store\Model\PathConfig" />
6666
<type name="Magento\Framework\App\ActionInterface">
6767
<plugin name="storeCheck" type="Magento\Store\App\Action\Plugin\StoreCheck"/>
68-
<plugin name="designLoader" type="Magento\Framework\App\Action\Plugin\LoadDesignPlugin"/>
6968
<plugin name="eventDispatch" type="Magento\Framework\App\Action\Plugin\EventDispatchPlugin"/>
7069
<plugin name="actionFlagNoDispatch" type="Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin"/>
7170
</type>

lib/internal/Magento/Framework/App/Action/Plugin/LoadDesignPlugin.php renamed to app/code/Magento/Theme/Plugin/LoadDesignPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
namespace Magento\Framework\App\Action\Plugin;
7+
namespace Magento\Theme\Plugin;
88

99
use Magento\Framework\App\ActionInterface;
1010
use Magento\Framework\Config\Dom\ValidationException;

app/code/Magento/Theme/etc/di.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
<argument name="scope" xsi:type="const">Magento\Store\Model\ScopeInterface::SCOPE_STORE</argument>
105105
</arguments>
106106
</virtualType>
107+
<type name="Magento\Framework\App\ActionInterface">
108+
<plugin name="designLoader" type="Magento\Theme\Plugin\LoadDesignPlugin"/>
109+
</type>
107110
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
108111
<arguments>
109112
<argument name="collections" xsi:type="array">

0 commit comments

Comments
 (0)