function hook_commerce_multicurrency_exchange_rate_sync_provider_info_alter in Commerce Multicurrency 7
Alter currency exchange rate sync providers.
This hook allows you to change the formatting properties of existing definitions.
See also
hook_commerce_multicurrency_exchange_rate_sync_provider_info()
1 invocation of hook_commerce_multicurrency_exchange_rate_sync_provider_info_alter()
- commerce_multicurrency_commerce_multicurrency_exchange_rate_sync_provider in ./
commerce_multicurrency.module - Returns currency exchange rate sync providers.
File
- ./
commerce_multicurrency.api.php, line 44 - This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.
Code
function hook_commerce_multicurrency_exchange_rate_sync_provider_info_alter(&$providers) {
$currencies['ecb']['callback'] = 'commerce_multicurrency_exchange_rate_sync_provider_ecb_different';
}