<?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>
    </loops>

    <forms>
    </forms>

    <commands>
    </commands>

    <hooks>
        <hook id="hooktest.hook.front" class="HookTest\Hook\FrontHook" scope="request">
            <!-- test: hook tag -->
            <tag name="hook.event_listener" event="main.head-top" />
            <tag name="hook.event_listener" event="main.head-top" method="onMainHeadTopTest1" />
            <tag name="hook.event_listener" event="main.head-top" method="onMainHeadTopTest2" type="front" />
            <tag name="hook.event_listener" event="main.head-top" method="onMainHeadTopTest3" type="front" active="0" />

            <!-- test: hook function -->
            <tag name="hook.event_listener" event="main.body-top" />
            <tag name="hook.event_listener" event="main.body-top" method="onMainBodyTop2" />

            <!-- test: if hook -->
            <tag name="hook.event_listener" event="main.navbar-secondary" />
            <tag name="hook.event_listener" event="main.navbar-primary" />

            <!-- test: hookblock / forhook -->
            <tag name="hook.event_listener" event="main.footer-body" />

            <!-- test: functionality -->
            <tag name="hook.event_listener" event="main.content-top" />
            <!-- render function-->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopRender" />
            <!-- dump function-->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopDump" />
            <!-- addCSS function-->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopAddCSS" />
            <!-- addJS function-->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopAddJS" />
            <!-- trans function-->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopTrans" />

            <!-- overriding -->
            <tag name="hook.event_listener" event="main.content-top" method="onMainContentTopOverriding" />


        </hook>
    </hooks>

</config>
