function commerce_registration_token_info_alter in Commerce Registration 7
Same name and namespace in other branches
- 7.2 commerce_registration.tokens.inc \commerce_registration_token_info_alter()
Implements hook_token_info_alter().
File
- ./
commerce_registration.tokens.inc, line 9
Code
function commerce_registration_token_info_alter(&$data) {
$data['tokens']['registration']['commerce_order'] = array(
'name' => t('Commerce Order ID'),
'description' => t('The Commerce order number that the registration belongs to.'),
);
}