Skip to content

Commit c5233f8

Browse files
authored
Inject app mode in interceptor generator
1 parent bbac3c8 commit c5233f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/etc/di.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@
359359
<argument name="appMode" xsi:type="init_parameter">Magento\Framework\App\State::PARAM_MODE</argument>
360360
</arguments>
361361
</type>
362+
<type name="Magento\Framework\Interception\PluginListGenerator">
363+
<arguments>
364+
<argument name="appMode" xsi:type="init_parameter">Magento\Framework\App\State::PARAM_MODE</argument>
365+
</arguments>
366+
</type>
362367
<type name="Magento\Framework\App\Cache\Frontend\Factory">
363368
<arguments>
364369
<argument name="enforcedOptions" xsi:type="init_parameter">Magento\Framework\App\Cache\Frontend\Factory::PARAM_CACHE_FORCED_OPTIONS</argument>

0 commit comments

Comments
 (0)