Files
aux-bieaux-legumes/local/modules/PointRetrait/Config/config.xml

40 lines
1.8 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">
<hooks>
<!-- Global hook class -->
<hook id="pdr.css.hook" class="PointRetrait\Hook\CssHook">
<tag name="hook.event_listener" event="main.head-css" type="back" method="onAddCss"/>
<tag name="hook.event_listener" event="main.stylesheet" type="front" method="onAddCss"/>
</hook>
<hook id="pdr.admin.hook" class="PointRetrait\Hook\AdminHook">
<tag name="hook.event_listener" event="home.block" type="back" method="displayScheduledWithdrawals" />
<tag name="hook.event_listener" event="main.in-top-menu-items" type="back" method="onMainTopMenuTools" />
<argument type="service" id="thelia.securityContext"/>
</hook>
<hook id="pdr.front.hook" class="PointRetrait\Hook\FrontHook">
<tag name="hook.event_listener" event="order-delivery.extra" type="front" method="onOrderDeliveryExtra" />
</hook>
</hooks>
<loops>
<loop name="pdr_places" class="PointRetrait\Loop\GeneralLoop"/>
<loop name="pdr_schedule" class="PointRetrait\Loop\ScheduleLoop"/>
</loops>
<forms>
<form name="pdr.place.view.main" class="PointRetrait\Form\ViewMainForm"/>
<form name="pdr.place.view.schedule" class="PointRetrait\Form\ViewScheduleForm"/>
<form name="pdr.place.create" class="PointRetrait\Form\CreatePlaceForm"/>
<form name="pdr.place.create.schedule" class="PointRetrait\Form\CreateScheduleForm"/>
<form name="pdr.place.update.schedule" class="PointRetrait\Form\UpdateScheduleForm"/>
</forms>
</config>