Initial Commit
This commit is contained in:
33
local/modules/DigressivePrice/Config/config.xml
Normal file
33
local/modules/DigressivePrice/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="digressive" class="DigressivePrice\Loop\DigressiveLoop" />
|
||||
</loops>
|
||||
|
||||
<forms>
|
||||
<form name="digressiveprice.create" class="DigressivePrice\Form\CreateDigressivePriceForm" />
|
||||
<form name="digressiveprice.update" class="DigressivePrice\Form\UpdateDigressivePriceForm" />
|
||||
<form name="digressiveprice.delete" class="DigressivePrice\Form\DeleteDigressivePriceForm" />
|
||||
</forms>
|
||||
|
||||
<hooks>
|
||||
<hook id="digressiveprice.hook" class="DigressivePrice\Hook\DigressivePriceHook">
|
||||
<tag name="hook.event_listener" event="product.tab" type="back" method="onProductTab"/>
|
||||
|
||||
<tag name="hook.event_listener" event="product.details-bottom" type="front" method="onProductDetailsBottom"/>
|
||||
<tag name="hook.event_listener" event="product.javascript-initialization" type="front" method="onProductJavascriptInitialization"/>
|
||||
<tag name="hook.event_listener" event="category.javascript-initialization" type="front" method="onProductJavascriptInitialization"/>
|
||||
</hook>
|
||||
</hooks>
|
||||
|
||||
<services>
|
||||
<service id="digressiveprice.listener" class="DigressivePrice\Listener\DigressivePriceListener">
|
||||
<argument type="service" id="request_stack"/>
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
</services>
|
||||
</config>
|
||||
Reference in New Issue
Block a user