You are here

function taxonomy_menu_create_path in Taxonomy menu 6.2

Same name and namespace in other branches
  1. 6.3 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

1 call to taxonomy_menu_create_path()
_taxonomy_menu_save in ./taxonomy_menu.module
Add/Update a taxonomy menu item.

File

./taxonomy_menu.module, line 615
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);
}