di.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" ?>
  2. <!--
  3. /**
  4. * Mageplaza
  5. *
  6. * NOTICE OF LICENSE
  7. *
  8. * This source file is subject to the mageplaza.com license that is
  9. * available through the world-wide-web at this URL:
  10. * https://mageplaza.com/LICENSE.txt
  11. *
  12. * DISCLAIMER
  13. *
  14. * Do not edit or add to this file if you wish to upgrade this extension to newer
  15. * version in the future.
  16. *
  17. * @category Mageplaza
  18. * @package Mageplaza_Core
  19. * @copyright Copyright (c) 2016-2018 Mageplaza (https://www.mageplaza.com/)
  20. * @license http://mageplaza.com/LICENSE.txt
  21. */
  22. -->
  23. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  24. <type name="Magento\Framework\Notification\MessageList">
  25. <arguments>
  26. <argument name="messages" xsi:type="array">
  27. <item name="mageplaza_validate_message" xsi:type="string">Mageplaza\Core\Model\Message\Validate</item>
  28. </argument>
  29. </arguments>
  30. </type>
  31. <type name="Magento\Config\Model\Config\Structure\Data">
  32. <plugin name="mageplaza_module_activate" type="Mageplaza\Core\Model\Config\Structure\Data"/>
  33. </type>
  34. </config>