You are here

function taxonomy_menu_path_get in Taxonomy menu 8

Same name and namespace in other branches
  1. 7.2 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 560
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
    ->bundle(), 'taxonomy_menu_path_default');
  return $function($term);
}