You are here

function taxonomy_menu_create_path in Taxonomy menu 6.3

Same name and namespace in other branches
  1. 6.2 taxonomy_menu.module \taxonomy_menu_create_path()
  2. 7 taxonomy_menu.module \taxonomy_menu_create_path()

Create the path for the vid/tid combination.

Parameters

$vid:

$tid:

Return value

string path

File

./taxonomy_menu.module, line 162
It Generates menu links for all selected taxonomy terms

Code

function taxonomy_menu_create_path($vid, $tid) {

  //get the path function for this vocabulary
  $function = variable_get('taxonomy_menu_path_' . $vid, 'taxonomy_menu_path_default');

  //run the function
  return $function($vid, $tid);
}