You are here

function taxonomy_title_token_list in Taxonomy Title 6

Implementation of hook_token_list().

File

./taxonomy_title.module, line 254
Enhanced control over the heading tag for the taxonomy term list pages.

Code

function taxonomy_title_token_list($type = 'all') {
  if ($type == 'taxonomy' || $type == 'all') {
    $tokens['taxonomy']['term-title'] = t("The term's title, defaults to term name (same as [cat]) if no title provided.");
    $tokens['taxonomy']['term-title-raw'] = t("The raw component of the term's title, WARNING - raw user input.");
    return $tokens;
  }
}