You are here

function _casetracker_token_list in Case Tracker 6

Implementation of hook_token_list().

1 call to _casetracker_token_list()
casetracker_token_list in ./casetracker.module
Implementation of hook_token_list().

File

./casetracker.token.inc, line 28
Token implementation for Casetracker

Code

function _casetracker_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {
    $tokens['casetracker']['case_status'] = t('Case Status');
    $tokens['casetracker']['case_type'] = t('Case Type');
    $tokens['casetracker']['case_priority'] = t('Case Priority');
    $tokens['casetracker']['case_assign_to_uid'] = t('Case Assigned to (UID)');
    $tokens['casetracker']['case_assign_to'] = t('Case Assigned to (Name)');
    return $tokens;
  }
}