Rajout du module View pour pouvoir afficher dans les menus la liste des marques
This commit is contained in:
43
local/modules/View/Config/config.xml
Normal file
43
local/modules/View/Config/config.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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="view" class="View\Loop\View" />
|
||||
<loop name="frontview" class="View\Loop\FrontView" />
|
||||
<loop name="frontfiles" class="View\Loop\Frontfiles" />
|
||||
</loops>
|
||||
|
||||
<forms>
|
||||
<form name="view.create" class="View\Form\ViewForm" />
|
||||
</forms>
|
||||
|
||||
<commands>
|
||||
<!--
|
||||
<command class="MyModule\Command\MySuperCommand" />
|
||||
-->
|
||||
</commands>
|
||||
|
||||
<services>
|
||||
<service id="view.listener" class="View\Listener\ViewListener">
|
||||
<argument type="service" id="service_container"/>
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
<service id="module.view.listener" class="View\Listener\ControllerListener">
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<hooks>
|
||||
<hook id="view.hookmanager.hook" class="View\Hook\HookManager">
|
||||
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration"/>
|
||||
<tag name="hook.event_listener" event="category.tab-content" type="back" method="onEditModuleTab"/>
|
||||
<tag name="hook.event_listener" event="content.tab-content" type="back" method="onEditModuleTab"/>
|
||||
<tag name="hook.event_listener" event="folder.tab-content" type="back" method="onEditModuleTab"/>
|
||||
<tag name="hook.event_listener" event="product.tab-content" type="back" method="onEditModuleTab"/>
|
||||
</hook>
|
||||
</hooks>
|
||||
</config>
|
||||
Reference in New Issue
Block a user