Skip to content

Commit

Permalink
FIX global DI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix128 committed Jun 25, 2018
1 parent a370346 commit d514166
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
Empty file modified README.md
100644 → 100755
Empty file.
22 changes: 0 additions & 22 deletions etc/adminhtml/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,5 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

<virtualType name="MSP\Notifier\Ui\DataProvider\Form\Channel\Modifier\Pool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="msp_notifier_queue_extension_attributes" xsi:type="array">
<item name="class"
xsi:type="string">MSP\NotifierQueue\Ui\DataProvider\Form\Channel\Modifier\ExtensionAttributes</item>
<item name="sortOrder" xsi:type="number">10</item>
</item>
</argument>
</arguments>
</virtualType>

<virtualType name="MSP\Notifier\Ui\DataProvider\Listing\Channel\Modifier\Pool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="msp_notifier_queue_extension_attributes" xsi:type="array">
<item name="class"
xsi:type="string">MSP\NotifierQueue\Ui\DataProvider\Listing\Channel\Modifier\ExtensionAttributes</item>
<item name="sortOrder" xsi:type="number">10</item>
</item>
</argument>
</arguments>
</virtualType>
</config>
24 changes: 21 additions & 3 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,29 @@
type="MSP\NotifierQueue\Plugin\Model\SendMessagePlugin"/>
</type>

<type name="ClearQueue">
<virtualType name="MSP\Notifier\Ui\DataProvider\Form\Channel\Modifier\Pool">
<arguments>
<argument name="daysHistory" xsi:type="number">7</argument>
<argument name="modifiers" xsi:type="array">
<item name="msp_notifier_queue_extension_attributes" xsi:type="array">
<item name="class"
xsi:type="string">MSP\NotifierQueue\Ui\DataProvider\Form\Channel\Modifier\ExtensionAttributes</item>
<item name="sortOrder" xsi:type="number">10</item>
</item>
</argument>
</arguments>
</type>
</virtualType>

<virtualType name="MSP\Notifier\Ui\DataProvider\Listing\Channel\Modifier\Pool">
<arguments>
<argument name="modifiers" xsi:type="array">
<item name="msp_notifier_queue_extension_attributes" xsi:type="array">
<item name="class"
xsi:type="string">MSP\NotifierQueue\Ui\DataProvider\Listing\Channel\Modifier\ExtensionAttributes</item>
<item name="sortOrder" xsi:type="number">10</item>
</item>
</argument>
</arguments>
</virtualType>

<type name="MSP\Notifier\Model\Channel\Validator\ChannelValidatorChain">
<arguments>
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MSP_NotifierQueue" setup_version="0.1.4">
<module name="MSP_NotifierQueue" setup_version="0.1.5">
<sequence>
<module name="MSP_Notifier"/>

Expand Down

0 comments on commit d514166

Please sign in to comment.