Il manquait plein de fichiers dans Git
This commit is contained in:
18
local/modules/PurgeFakeCustomer/Config/config.xml
Normal file
18
local/modules/PurgeFakeCustomer/Config/config.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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">
|
||||
|
||||
<commands>
|
||||
<command class="PurgeFakeCustomer\Command\FakeCustomerPurge" />
|
||||
</commands>
|
||||
|
||||
<services>
|
||||
<service id="purgefakecustomer.purge" class="PurgeFakeCustomer\EventListener\EventManager">
|
||||
<argument type="service" id="event_dispatcher" />
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
</config>
|
||||
28
local/modules/PurgeFakeCustomer/Config/module.xml
Normal file
28
local/modules/PurgeFakeCustomer/Config/module.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module xmlns="http://thelia.net/schema/dic/module"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_2.xsd">
|
||||
<fullnamespace>PurgeFakeCustomer\PurgeFakeCustomer</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Delete fake customers</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Supprime des faux comptes clients</title>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>en_US</language>
|
||||
<language>fr_FR</language>
|
||||
</languages>
|
||||
<version>1.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Laurent LE CORRE</name>
|
||||
<email>laurent@thecoredev.fr</email>
|
||||
</author>
|
||||
</authors>
|
||||
<type>classic</type>
|
||||
<thelia>2.3.0</thelia>
|
||||
<stability>beta</stability>
|
||||
<mandatory>0</mandatory>
|
||||
<hidden>0</hidden>
|
||||
</module>
|
||||
12
local/modules/PurgeFakeCustomer/Config/routing.xml
Normal file
12
local/modules/PurgeFakeCustomer/Config/routing.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<routes xmlns="http://symfony.com/schema/routing"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<route id="purgefakecustomer.purge" path="/purgefakecustomer/{secretKey}">
|
||||
<default key="_controller">PurgeFakeCustomer\Controller\PurgeController::purge</default>
|
||||
<requirement key="secretKey">.+</requirement>
|
||||
</route>
|
||||
|
||||
</routes>
|
||||
Reference in New Issue
Block a user