You are here

function taxonomy_menu_path_get in Taxonomy menu 7.2

Same name and namespace in other branches
  1. 8 taxonomy_menu.module \taxonomy_menu_path_get()

Creates the path for the vid/tid combination.

Parameters

$vid:

$tid:

Return value

string

1 call to taxonomy_menu_path_get()
taxonomy_menu_menu_link_prepare in ./taxonomy_menu.module
Prepares a taxonomy item to be saved as a menu link.

File

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

Code

function taxonomy_menu_path_get($term) {

  // Get the path function for this vocabulary and run it.
  $function = taxonomy_menu_variable_get('path', $term->vid, 'taxonomy_menu_path_default');
  return $function($term);
}