| Current Path : /srv/web/sites/trentinoplant.it/httpdocs/vendor1/mageplaza/module-smtp/etc/ |
| Current File : /srv/web/sites/trentinoplant.it/httpdocs/vendor1/mageplaza/module-smtp/etc/di.xml |
<?xml version="1.0" ?><!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_Smtp
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\Mail\Template\TransportBuilder">
<plugin name="mageplaza_mail_template_transport_builder" type="Mageplaza\Smtp\Mail\Template\TransportBuilder" sortOrder="1" disabled="false"/>
</type>
<type name="Mageplaza\Smtp\Helper\EmailMarketing">
<arguments>
<argument name="frontendUrl" xsi:type="object" shared="false">Magento\Framework\Url</argument>
</arguments>
</type>
<type name="Magento\Framework\Mail\TransportInterface">
<plugin name="mageplaza_mail_transport" type="Mageplaza\Smtp\Mail\Transport" sortOrder="1" disabled="false"/>
</type>
<!--Grid collection-->
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="mpsmtp_emails_log_grid_data_source" xsi:type="string">Mageplaza\Smtp\Model\ResourceModel\Log\Grid\Collection</item>
</argument>
</arguments>
</type>
<virtualType name="Mageplaza\Smtp\Model\ResourceModel\Log\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">mageplaza_smtp_log</argument>
<argument name="resourceModel" xsi:type="string">Mageplaza\Smtp\Model\ResourceModel\Log</argument>
</arguments>
</virtualType>
<type name="Magento\Framework\Mail\Template\TransportBuilderByStore">
<plugin name="mpsmtp_appTransportBuilder" type="Mageplaza\Smtp\Plugin\Message"/>
</type>
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<item name="mpsmtp_abandoned_cart_grid_data_source" xsi:type="string">Mageplaza\Smtp\Model\ResourceModel\AbandonedCart\Grid\Collection</item>
</argument>
</arguments>
</type>
<type name="Mageplaza\Smtp\Model\ResourceModel\AbandonedCart\Grid\Collection">
<arguments>
<argument name="mainTable" xsi:type="string">quote</argument>
<argument name="resourceModel" xsi:type="string">Magento\Quote\Model\ResourceModel\Quote</argument>
</arguments>
</type>
<type name="Magento\Customer\Model\AccountManagement">
<plugin name="mpsmtp_account_management" type="Mageplaza\Smtp\Plugin\AccountManagement"/>
</type>
<type name="Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\ProductSearch\ProductCollectionSearchCriteriaBuilder">
<plugin name="mpsmtp_search_criteria_builder" type="Mageplaza\Smtp\Plugin\Model\Resolver\Products\DataProvider\ProductSearch\ProductSearchCriteriaBuilder"/>
</type>
<preference for="Mageplaza\Smtp\Api\CheckoutManagementInterface" type="Mageplaza\Smtp\Model\CheckoutManagement"/>
</config>