Skip to content

Commit cb02a8f

Browse files
authored
Merge pull request #9 from NicolasBarbey/main
fix configuration button on modules page
2 parents 98cf36a + ddc9cd2 commit cb02a8f

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

Config/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
<hooks>
2929
<hook id="payplugmodule_back_hook" class="PayPlugModule\Hook\BackHookManager">
30+
<tag name="hook.event_listener" event="module.configuration" type="back" method="onModuleConfigure" />
3031
<tag name="hook.event_listener" event="order-edit.payment-module-bottom" type="back" method="onOrderEditPaymentModuleBottom"/>
3132
<tag name="hook.event_listener" event="order.edit-js " type="back" templates="js:PayPlugModule/order_pay_plug.js"/>
3233
</hook>

Config/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<language>en_US</language>
1818
<language>fr_FR</language>
1919
</languages>
20-
<version>2.0.1</version>
20+
<version>2.0.2</version>
2121
<authors>
2222
<author>
2323
<name>Vincent Lopes-Vicente</name>

Hook/BackHookManager.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,9 @@ public function onOrderEditPaymentModuleBottom(HookRenderEvent $event)
6262
)
6363
);
6464
}
65+
66+
public function onModuleConfigure(HookRenderEvent $event)
67+
{
68+
69+
}
6570
}

0 commit comments

Comments
 (0)