You are here

function hook_currency_locale_pattern_info in Currency 7.2

Expose CLDR number patterns for locales.

Return value

array An array of CurrencyLocalePattern objects, keyed by their locales.

1 function implements hook_currency_locale_pattern_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

currency_currency_locale_pattern_info in currency/currency.currency.inc
Implements hook_currency_locale_pattern_info().

File

currency/currency.api.php, line 44
API documentation.

Code

function hook_currency_locale_pattern_info() {
  $locale_patterns['nl_NL'] = new CurrencyLocalePattern(array(
    'locale' => 'nl_NL',
    'pattern' => '¤#.##0,0#',
  ));
  return $locale_patterns;
}