Files

39 lines
1.9 KiB
XML
Executable File

<?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="rewrite_url" class="RewriteUrl\Loop\RewriteUrlLoop" />
<loop name="list-notrewritenurls" class="RewriteUrl\Loop\NotRewritenUrlCategoryLoop"/>
<loop name="rewrite_url_rule" class="RewriteUrl\Loop\RewriteUrlRuleLoop"/>
</loops>
<forms>
<form name="rewriteurl.reassign.form" class="RewriteUrl\Form\ReassignForm" />
<form name="rewriteurl.add.form" class="RewriteUrl\Form\AddUrlForm" />
<form name="rewriteurl.setdefault.form" class="RewriteUrl\Form\SetDefaultForm"/>
</forms>
<services>
<service id="rewriteurl.router.first" class="RewriteUrl\Service\RewritingRouterFirst">
<tag name="router.register" priority="300"/>
</service>
<service id="rewriteurl.router.last" class="RewriteUrl\Service\RewritingRouterLast">
<tag name="router.register" priority="-300"/>
</service>
</services>
<hooks>
<hook id="notrewritenurls.hook.back" class="RewriteUrl\Hook\ConfigurationHook" scope="request">
<tag name="hook.event_listener" event="configuration.catalog-top" type="back" method="onConfigurationCatalogTop"/>
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfiguration" />
<tag name="hook.event_listener" event="module.config-js" type="back" method="onModuleConfigurationJavascript" />
<tag name="hook.event_listener" event="module.config-js" type="back" method="onModuleConfigurationJavascript" />
<tag name="hook.event_listener" event="main.top-menu-tools" type="back" method="onMainTopMenuTools" />
</hook>
</hooks>
</config>