function commerce_gc_product_token_info_alter in Commerce GC 7
File
- modules/
commerce_gc_product/ commerce_gc_product.tokens.inc, line 11 - Provides token support for Giftcards products
Code
function commerce_gc_product_token_info_alter(&$info) {
$info['tokens']['commerce-line-item']['giftcard-message-text'] = array(
'name' => t('Giftcard message text'),
'description' => t('Formatted presentation of message field'),
'type' => 'commerce-order',
);
}