43 lines
1.2 KiB
XML
43 lines
1.2 KiB
XML
<?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>
|
|
<!-- sample definition
|
|
<loop name="MySuperLoop" class="ReCaptcha\Loop\MySuperLoop" />
|
|
-->
|
|
</loops>
|
|
|
|
<forms>
|
|
<form name="recaptcha_configuration_form" class="ReCaptcha\Form\ConfigurationForm" />
|
|
</forms>
|
|
|
|
<commands>
|
|
<!--
|
|
<command class="ReCaptcha\Command\MySuperCommand" />
|
|
-->
|
|
</commands>
|
|
|
|
<hooks>
|
|
<hook id="recaptcha.hook" class="ReCaptcha\Hook\FrontHook">
|
|
<tag name="hook.event_listener" event="main.head-top" type="front" method="loadRecaptcha" />
|
|
<tag name="hook.event_listener" event="recaptcha.js" type="front" method="loadRecaptcha" />
|
|
<tag name="hook.event_listener" event="recaptcha.check" type="front" method="addRecaptchaCheck" />
|
|
</hook>
|
|
</hooks>
|
|
|
|
<!--
|
|
<exports>
|
|
|
|
</exports>
|
|
-->
|
|
|
|
<!--
|
|
<imports>
|
|
|
|
</imports>
|
|
-->
|
|
</config>
|