function basic_cart_token_info in Basic cart 8
Same name and namespace in other branches
- 8.6 basic_cart.module \basic_cart_token_info()
- 8.0 basic_cart.module \basic_cart_token_info()
- 8.2 basic_cart.module \basic_cart_token_info()
- 8.3 basic_cart.module \basic_cart_token_info()
- 8.4 basic_cart.module \basic_cart_token_info()
- 8.5 basic_cart.module \basic_cart_token_info()
Implements hook_token_info().
File
- ./
basic_cart.module, line 325
Code
function basic_cart_token_info() {
$info = array();
// Add any new tokens.
$info['tokens']['basic_cart_order']['products'] = 'Listing of ordered products.';
$info['tokens']['basic_cart_order']['basic_cart_total_price'] = 'Total Price of the Order';
$info['tokens']['basic_cart_order']['basic_cart_vat'] = 'VAT value of the order.';
$info['tokens']['basic_cart_order']['basic_cart_email'] = 'Email defined with the order.';
// Return them.
return $info;
}