function hook_commerce_payment_method_info_alter in Commerce Core 7
Alter payment methods defined by other modules.
This function is run before default values have been merged into the payment methods.
Parameters
$payment_methods: An array of payment methods, keyed by method id.
Related topics
1 invocation of hook_commerce_payment_method_info_alter()
- commerce_payment_methods in modules/
payment/ commerce_payment.module - Returns an array of payment methods defined by enabled modules.
File
- modules/
payment/ commerce_payment.api.php, line 181 - Hooks provided by the Payment module.
Code
function hook_commerce_payment_method_info_alter(&$payment_methods) {
// No example.
}