You are here

function _casetracker_token_info in Case Tracker 7

Implementation of hook_token_list().

1 call to _casetracker_token_info()
casetracker_token_info in ./casetracker.module
Implements hook_token_list().

File

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

Code

function _casetracker_token_info($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;
  }
}