function mollie_payment_payment_method_update in Mollie Payment 7.2
Same name and namespace in other branches
- 7 mollie_payment.module \mollie_payment_payment_method_update()
Implements hook_ENTITY_TYPE_ACTION().
File
- ./
mollie_payment.module, line 251 - Provides Mollie integration for the Payment platform.
Code
function mollie_payment_payment_method_update(PaymentMethod $payment_method) {
if ($payment_method->controller->name == 'MolliePaymentMethodController') {
mollie_payment_payment_method_configuration_save($payment_method->pmid, $payment_method->controller_data);
}
}