<?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_EmailAttachments
 * @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:Event/etc/events.xsd">
    <event name="email_order_set_template_vars_before">
        <observer name="mageplaza_emailattachments_order_observer" instance="Mageplaza\EmailAttachments\Observer\AbstractEmail"/>
    </event>
    <event name="email_invoice_set_template_vars_before">
        <observer name="mageplaza_emailattachments_invoice_observer" instance="Mageplaza\EmailAttachments\Observer\AbstractEmail"/>
    </event>
    <event name="email_shipment_set_template_vars_before">
        <observer name="mageplaza_emailattachments_shipment_observer" instance="Mageplaza\EmailAttachments\Observer\AbstractEmail"/>
    </event>
    <event name="email_creditmemo_set_template_vars_before">
        <observer name="mageplaza_emailattachments_creditmemo_observer" instance="Mageplaza\EmailAttachments\Observer\AbstractEmail"/>
    </event>
</config>
