<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <event name="admin_system_config_changed_section_connector_api_credentials">
        <observer name="admin_connector_api_credentials" instance="Dotdigitalgroup\Email\Observer\Adminhtml\ApiValidate" />
    </event>
    <event name="admin_system_config_changed_section_connector_data_mapping">
        <observer name="admin_connector_data_mapping" instance="Dotdigitalgroup\Email\Observer\Adminhtml\ResetContactImport"/>
    </event>
    <event name="view_block_abstract_to_html_before">
        <observer name="ddg_add_column_expiration_date" instance="Dotdigitalgroup\Email\Observer\Html\BeforeBlockToHtml"/>
    </event>
</config>
