You are here

function talk_token_list in Talk 6

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

Implementation of hook_token_list(). Documents the individual tokens handled by the module.

File

./talk.module, line 306
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;
}