[04/09/2024] Installation du module ForcePhone pour rendre le téléphone obligatoire à la création du compte.

This commit is contained in:
2024-09-04 21:46:00 +02:00
parent 38fbe0533e
commit 5a79db3015
22 changed files with 1063 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?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="forcephone_configuration" class="ForcePhone\Form\ConfigForm" />
</forms>
<commands>
<command class="ForcePhone\Command\UpdatePhoneNumberCommand" />
</commands>
<hooks>
<hook id="forcephone.configuration.hook" class="ForcePhone\Hook\HookManager" scope="request">
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfigure" />
</hook>
</hooks>
<services>
<service id="forcephone.services" class="ForcePhone\EventListeners\ForcePhoneEventListener" scope="request">
<argument id="request" type="service"/>
<tag name="kernel.event_subscriber"/>
</service>
</services>
</config>