function uc_file_token_list in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_file/uc_file.module \uc_file_token_list()
Implementation of hook_token_list().
File
- uc_file/
uc_file.module, line 277 - Allows products to be associated with downloadable files.
Code
function uc_file_token_list($type = 'all') {
if ($type == 'uc_file' || $type == 'ubercart' || $type == 'all') {
$tokens['uc_file']['file-downloads'] = t('The list of file download links (if any) associated with an order');
}
return $tokens;
}