Ajout du module CustomDelivery v 1.0.7 (avant le AbstractDeliveryModuleWithState)

This commit is contained in:
2023-12-08 16:24:23 +01:00
parent c30f59d2e4
commit 4e8ac75bad
32 changed files with 4418 additions and 0 deletions

View 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>