function uc_payment_token_list in Ubercart 6.2
Same name and namespace in other branches
- 5 payment/uc_payment/uc_payment.module \uc_payment_token_list()
Implements hook_token_list(). (token.module)
File
- payment/
uc_payment/ uc_payment.module, line 158
Code
function uc_payment_token_list($type = 'all') {
$tokens = array();
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;
}