You are here

function biblio_token_list in Bibliography Module 5

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_token_list()
  2. 6 biblio.module \biblio_token_list()

Implementation of hook_token_list() for og specific tokens

File

./biblio.module, line 3892

Code

function biblio_token_list($type = 'all') {
  if ($type == 'node') {
    $tokens['node']['biblio_year'] = t("Biblio: Publication year");
    $tokens['node']['biblio_authors'] = t("Biblio: Authors");
    $tokens['node']['biblio_type_id'] = t("Biblio: Type ID (e.g.: 100)");
    $tokens['node']['biblio_type'] = t("Biblio: Type Name (e.g.: book)");
    return $tokens;
  }
}