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

31 lines
1.1 KiB
XML
Executable File

<?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="FedEx\Loop\Price" name="fedex"/>
<loop class="FedEx\Loop\CheckRightsLoop" name="fedex.check.rights" />
<loop class="FedEx\Loop\NotSendLoop" name="fedex.notsend.loop" />
</loops>
<forms>
<form name="fedex.configuration" class="FedEx\Form\Configuration" />
</forms>
<services>
<service id="send.fedex.mail" class="FedEx\Listener\SendMail">
<argument type="service" id="thelia.parser" />
<argument type="service" id="mailer"/>
<tag name="kernel.event_subscriber"/>
</service>
</services>
<hooks>
<hook id="fedex.hook" class="FedEx\Hook\HookManager">
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
</hook>
</hooks>
</config>