Files
domokits/local/modules/DHL/Config/config.xml

39 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns="http://thelia.net/schema/dic/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
<loops>
<loop class="DHL\Loop\Price" name="dhl"/>
<loop class="DHL\Loop\CheckRightsLoop" name="dhl.check.rights" />
<loop class="DHL\Loop\NotSendLoop" name="dhl.notsend.loop" />
</loops>
<forms>
<form name="dhl.configuration" class="DHL\Form\Configuration" />
</forms>
<services>
<service id="send.dhl.mail" class="DHL\Listener\SendMail">
<argument type="service" id="thelia.parser" />
<argument type="service" id="mailer"/>
<tag name="kernel.event_subscriber"/>
</service>
</services>
<services>
<service id="area.deleted.listener" class="DHL\EventListener\AreaDeletedListener" scope="request">
<tag name="kernel.event_subscriber"/>
<argument type="service" id="request" />
</service>
</services>
<hooks>
<hook id="dhl.hook" class="DHL\Hook\HookManager">
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
<tag name="hook.event_listener" event="module.config-js" type="back" templates="render:assets/js/module-configuration-js.html" />
</hook>
</hooks>
</config>