function commerce_gc_token_info_alter in Commerce GC 7
File
- ./
commerce_gc.tokens.inc, line 11 - Provides token support for Giftcards.
Code
function commerce_gc_token_info_alter(&$info) {
$info['tokens']['commerce-coupon']['giftcard-balance'] = array(
'name' => t('Giftcard balance'),
'description' => t('The amount currently available on this giftcard'),
);
$info['tokens']['user']['giftcards-url'] = array(
'name' => t('Giftcards url'),
'description' => t('The URL of the account giftcards page.'),
);
}