50 lines
1.3 KiB
XML
50 lines
1.3 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="PaymentCondition\Loop\MySuperLoop" />
|
|
-->
|
|
</loops>
|
|
|
|
<forms>
|
|
<!--
|
|
<form name="MyFormName" class="PaymentCondition\Form\MySuperForm" />
|
|
-->
|
|
</forms>
|
|
|
|
<commands>
|
|
<!--
|
|
<command class="PaymentCondition\Command\MySuperCommand" />
|
|
-->
|
|
</commands>
|
|
|
|
<services>
|
|
<service id="payment_condition.payment.loop.extends" class="PaymentCondition\EventListeners\PaymentLoopExtend" scope="request">
|
|
<argument type="service" id="request_stack"/>
|
|
<tag name="kernel.event_subscriber" />
|
|
</service>
|
|
</services>
|
|
|
|
<hooks>
|
|
<hook id="payment_condition.customer.edit" class="PaymentCondition\Hook\CustomerEditHook">
|
|
<tag name="hook.event_listener" event="customer.edit" type="back" method="onCustomerEdit" />
|
|
</hook>
|
|
</hooks>
|
|
|
|
<!--
|
|
<exports>
|
|
|
|
</exports>
|
|
-->
|
|
|
|
<!--
|
|
<imports>
|
|
|
|
</imports>
|
|
-->
|
|
</config>
|