<?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">
    <forms>
        <form name="betterseo_form" class="BetterSeo\Form\BetterSeoForm" />
    </forms>

    <hooks>
        <hook id="betterseo.addfields.hook" class="BetterSeo\Hook\SeoFormHook">
            <tag name="hook.event_listener" event="tab-seo.bottom" type="back" method="onTabSeoUpdateForm" />
        </hook>
        <hook id="betterseo.meta.hook" class="BetterSeo\Hook\MetaHook" scope="request">
            <tag name="hook.event_listener" event="main.head-bottom" type="front" method="onMainHeadBottom" />
            <argument type="service" id="request_stack" />
        </hook>
    </hooks>

</config>
