You are here

function uc_file_token_list in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_file/uc_file.module \uc_file_token_list()

Implements hook_token_list().

File

uc_file/uc_file.module, line 643

Code

function uc_file_token_list($type = 'all') {
  $tokens = array();
  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;
}