Module Maintenance + création du module Recette

This commit is contained in:
2021-04-01 20:44:45 +02:00
parent a887f6892b
commit 8d8ca3fe2f
92 changed files with 6334 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
<?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="admin_maintenance_settings" class="Maintenance\Form\MaintenanceSettingsForm" />
</forms>
<services>
<service id="maintenance.listener" class="Maintenance\EventListener\MaintenanceListener">
<argument>%kernel.debug%</argument>
<tag name="kernel.event_subscriber"/>
</service>
</services>
<hooks>
<hook id="maintenance.warning" class="Maintenance\Hook\HookManager">
<tag name="hook.event_listener" event="main.body-top" type="front" method="onMainBodyTop" />
</hook>
<hook id="maintenance.configuration.hook" class="Maintenance\Hook\HookManager">
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfigure" />
</hook>
<hook id="maintenance.menutools.hook" class="Maintenance\Hook\HookManager">
<tag name="hook.event_listener" event="main.top-menu-tools" type="back" method="onMainTopMenuTools" />
</hook>
</hooks>
</config>