function commerce_braintree_commerce_braintree_dropin_js_alter in Commerce Braintree 7.2
Same name and namespace in other branches
- 7.3 modules/commerce_braintree_dropin/commerce_braintree_dropin.api.php \commerce_braintree_commerce_braintree_dropin_js_alter()
Implements hook_commerce_braintree_dropin_js_alter().
Parameters
$js_settings: An array of settings by reference that will be passed to the javascript API for Braintree.
$payment_method: The Drupal commerce payment method settings for context.
File
- modules/
commerce_braintree_dropin/ commerce_braintree_dropin.api.php, line 32 - Provies API methods exposed by this module.
Code
function commerce_braintree_commerce_braintree_dropin_js_alter(&$js_settings, $payment_method) {
// No example.
}