function uc_payment_token_list in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_payment/uc_payment.module \uc_payment_token_list()
Implementation of hook_token_list(). (token.module)
File
- payment/
uc_payment/ uc_payment.module, line 169
Code
function uc_payment_token_list($type = 'all') {
if ($type == 'order' || $type == 'ubercart' || $type == 'all') {
$tokens['order']['order-payment-method'] = t('The payment method of the order.');
$tokens['order']['order-payment-balance'] = t('The payment balance of the order');
}
return $tokens;
}