function uc_payment_token_info in Ubercart 7.3
Same name and namespace in other branches
- 8.4 payment/uc_payment/uc_payment.tokens.inc \uc_payment_token_info()
Implements hook_token_info().
File
- payment/
uc_payment/ uc_payment.tokens.inc, line 11 - Token hooks for the uc_payment module.
Code
function uc_payment_token_info() {
$order['payment-method'] = array(
'name' => t('Payment method'),
'description' => t('The payment method of the order.'),
);
$order['payment-balance'] = array(
'name' => t('Balance'),
'description' => t('The payment balance of the order'),
);
return array(
'tokens' => array(
'uc_order' => $order,
),
);
}