48 lines
2.5 KiB
XML
48 lines
2.5 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">
|
|
|
|
<loops>
|
|
<loop name="beds24.availability" class="Beds24\Loop\RoomAvailability" />
|
|
<loop name="beds24.description" class="Beds24\Loop\RoomDescription" />
|
|
<loop name="beds24.cart-item-booking-data" class="Beds24\Loop\BookingInfo" />
|
|
<loop name="beds24.order-product-booking-data" class="Beds24\Loop\OrderProductBooking" />
|
|
</loops>
|
|
|
|
<forms>
|
|
<form name="beds24.form.configuration" class="Beds24\Form\ConfigurationForm" />
|
|
<form name="beds24.form.search" class="Beds24\Form\SearchForm" />
|
|
</forms>
|
|
|
|
<services>
|
|
<service id="beds24.listener" class="Beds24\EventListeners\ProductFormExtent">
|
|
<tag name="kernel.event_subscriber"/>
|
|
</service>
|
|
<service id="beds24.loop_extent" class="Beds24\EventListeners\ProductLoopExtent">
|
|
<tag name="kernel.event_subscriber"/>
|
|
</service>
|
|
<service id="beds24.coart_order" class="Beds24\EventListeners\CartOrderListener">
|
|
<argument type="service" id="request_stack"/>
|
|
<argument type="service" id="thelia.translator"/>
|
|
<tag name="kernel.event_subscriber"/>
|
|
</service>
|
|
</services>
|
|
|
|
<hooks>
|
|
<hook id="beds24.backhook" class="Beds24\Hook\BackHookManager">
|
|
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
|
|
<tag name="hook.event_listener" event="product.modification.form-right.bottom" type="back" method="onProductEditRightColumnBottom" />
|
|
<tag name="hook.event_listener" event="order-edit.cart-bottom" type="back" method="onOrderEditCartBottom" />
|
|
</hook>
|
|
|
|
<hook id="beds24.fronthook" class="Beds24\Hook\FrontHookManager">
|
|
<tag name="hook.event_listener" event="home.body" type="front" method="onHomeBody" />
|
|
<tag name="hook.event_listener" event="home.javascript-initialization" type="front" method="onHomeJavascriptInitialization" />
|
|
<tag name="hook.event_listener" event="product.details-top" type="front" method="onProductDetailsTop" />
|
|
<tag name="hook.event_listener" event="product.javascript-initialization" type="front" method="onProductJavascriptInitialization" />
|
|
</hook>
|
|
</hooks>
|
|
</config>
|