You are here

function commerce_multicurrency_token_info in Commerce Multicurrency 7

Implements hook_token_info().

File

./commerce_multicurrency.tokens.inc, line 10
Token callbacks for the commerce_multicurrency module.

Code

function commerce_multicurrency_token_info() {
  $tokens['commerce-currency-code'] = array(
    'name' => t('The user currency'),
    'description' => t('The currency code of the currency to use for the current user.'),
  );
  return array(
    'tokens' => array(
      'user' => $tokens,
    ),
  );
}