Ajout du module CustomDelivery v 1.0.7 (avant le AbstractDeliveryModuleWithState)
This commit is contained in:
33
local/modules/CustomDelivery/Config/config.xml
Normal file
33
local/modules/CustomDelivery/Config/config.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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 name="custom-delivery-slice" class="CustomDelivery\Loop\CustomDeliverySliceLoop" />
|
||||
</loops>
|
||||
|
||||
<forms>
|
||||
<form name="customdelivery.configuration.form" class="CustomDelivery\Form\ConfigurationForm" />
|
||||
<form name="customdelivery.slice.form" class="CustomDelivery\Form\SliceForm" />
|
||||
</forms>
|
||||
|
||||
<services>
|
||||
<service id="customdelivery.events" class="CustomDelivery\EventListeners\CustomDeliveryEvents" scope="request">
|
||||
<argument type="service" id="thelia.parser" />
|
||||
<argument type="service" id="mailer"/>
|
||||
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<hooks>
|
||||
<hook id="customdelivery.hook" class="CustomDelivery\Hook\HookManager" scope="request">
|
||||
<!-- Back -->
|
||||
<tag name="hook.event_listener" event="module.configuration" type="back" />
|
||||
<tag name="hook.event_listener" event="module.config-js" type="back" />
|
||||
</hook>
|
||||
</hooks>
|
||||
|
||||
</config>
|
||||
Reference in New Issue
Block a user