| Current Path : /var/www/clients/client3/web2/web/vendor/wyomind/framework/etc/adminhtml/ |
| Current File : /var/www/clients/client3/web2/web/vendor/wyomind/framework/etc/adminhtml/di.xml |
<?xml version="1.0"?>
<!--
~ Copyright © 2020 Wyomind. All rights reserved.
~ See LICENSE.txt for license details.
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- LICENSE REGISTRATION NOTIFICATIONS -->
<type name="Magento\Framework\Notification\MessageList">
<arguments>
<argument name="messages" xsi:type="array">
<item name="indexer" xsi:type="string">Wyomind\Framework\Model\Notifications</item>
</argument>
</arguments>
</type>
<!-- PLUGIN ON SAVING THE CONFIG IN ANY WYOMIND MODULE -->
<type name="Magento\Config\Model\Config">
<plugin name="wyomind_framework_plugin_config_model_config" type="Wyomind\Framework\Plugin\Config\Model\Config" />
</type>
<type name="Magento\Backend\Model\Menu\Item">
<plugin name="wyomind_framework_menu_direct_url" type="Wyomind\Framework\Plugin\Backend\Model\Menu\Item"/>
</type>
<!--rewrites the layout processor /!\ no way to do this from the Modifier:modifyMeta() interceptor-->
<preference for="Magento\Ui\TemplateEngine\Xhtml\Result"
type="Wyomind\Framework\Magento\Ui\TemplateEngine\Xhtml\Result"/>
<!-- menu builder -->
<type name="Magento\Backend\Model\Menu\Builder">
<plugin name="build-menu" type="Wyomind\Framework\Plugin\Backend\Model\Menu\Builder" />
</type>
<!-- menu block -->
<type name="Magento\Backend\Block\Menu">
<plugin name="block-menu" type="Wyomind\Framework\Plugin\Backend\Block\Menu" />
</type>
</config>