You are here

function talk_token_list in Talk 7

Same name and namespace in other branches
  1. 6 talk.module \talk_token_list()

Implements hook_token_list(). Documents the individual tokens handled by the module.

File

./talk.module, line 346
Comments are displayed in a separate 'talk' tab, for node types you wish

Code

function talk_token_list($type = 'all') {
  $tokens = array();
  if ($type == 'comment' || $type == 'all') {
    $tokens['comment']['comment-talk-url'] = t('The comment view url (Talk compatible).');
  }
  return $tokens;
}