Skip to content

Commit

Permalink
magento#28050 Get rid of ActionInterface plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed May 8, 2020
1 parent 6b6f428 commit 47daeaa
Show file tree
Hide file tree
Showing 6 changed files with 131 additions and 211 deletions.
3 changes: 0 additions & 3 deletions app/code/Magento/Store/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
<preference for="Magento\Framework\App\Router\PathConfigInterface" type="Magento\Store\Model\PathConfig" />
<type name="Magento\Framework\App\ActionInterface">
<plugin name="storeCheck" type="Magento\Store\App\Action\Plugin\StoreCheck"/>
<plugin name="designLoader" type="Magento\Framework\App\Action\Plugin\LoadDesignPlugin"/>
<plugin name="eventDispatch" type="Magento\Framework\App\Action\Plugin\EventDispatchPlugin"/>
<plugin name="actionFlagNoDispatch" type="Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin"/>
</type>
<type name="Magento\Framework\Url\SecurityInfo">
<plugin name="storeUrlSecurityInfo" type="Magento\Store\Url\Plugin\SecurityInfo"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Theme/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,7 @@
<argument name="cache" xsi:type="object">configured_design_cache</argument>
</arguments>
</type>
<type name="Magento\Framework\App\ActionInterface">
<plugin name="designLoader" type="Magento\Theme\Plugin\LoadDesignPlugin"/>
</type>
</config>

This file was deleted.

This file was deleted.

Loading

0 comments on commit 47daeaa

Please sign in to comment.