You are here

function menutrails_token_list in Menu TrailsMenu Trails 6

File

./menutrails.module, line 369
Menutrails allows the assignment of "trails" which will keep menu items active for individual node views.

Code

function menutrails_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {
    $tokens['menutrails']['menu-trail-parents-path-raw'] = t("The menu trail leading up to but NOT including the node -- RAW");
    $tokens['menutrails']['menu-trail-parents-path'] = t("The menu trail leading up to but NOT including the node");
    return $tokens;
  }
}