32 lines
1.2 KiB
XML
32 lines
1.2 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">
|
|
|
|
<services>
|
|
<service id="planiflivraison.delivery.service" class="PlanificationLivraison\EventListeners\DeliveryListener">
|
|
<argument type="service" id="request_stack" />
|
|
<tag name="kernel.event_subscriber"/>
|
|
</service>
|
|
</services>
|
|
|
|
<forms>
|
|
<form name="planiflivraison.configuration" class="PlanificationLivraison\Form\Configuration" />
|
|
</forms>
|
|
|
|
<loops>
|
|
<loop name="scheduled_deliveries" class="PlanificationLivraison\Loop\ScheduledDeliveriesLoop"/>
|
|
</loops>
|
|
|
|
<hooks>
|
|
<hook id="planiflivraison.back.hook" class="PlanificationLivraison\Hook\BackHook">
|
|
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
|
|
</hook>
|
|
<hook id="css.back.hook">
|
|
<tag name="hook.event_listener" event="main.head-css" type="back" templates="css:assets/css/custom.css" />
|
|
</hook>
|
|
</hooks>
|
|
|
|
</config>
|