You are here

function monitoring_test_commerce_currency_info_alter in Monitoring 7

Implements hook_commerce_currency_info_alter().

File

test/monitoring_test.module, line 183
Monitoring test bootstrap file.

Code

function monitoring_test_commerce_currency_info_alter(&$currencies, $langcode) {

  // Alter CHF currency to use a ' as thousands separator, to verify correct
  // encoding of the status message.
  $currencies['CHF']['decimal_separator'] = '.';
  $currencies['CHF']['thousands_separator'] = '\'';
  $currencies['CHF']['code_placement'] = 'before';
}