function taxonomy_menu_create_path in Taxonomy menu 7
Same name and namespace in other branches
- 6.3 taxonomy_menu.module \taxonomy_menu_create_path()
- 6.2 taxonomy_menu.module \taxonomy_menu_create_path()
Creates the path for the vid/tid combination.
Parameters
$vid: Vocablary ID.
$tid: Taxonomy term ID.
Return value
string Path
1 call to taxonomy_menu_create_path()
- _taxonomy_menu_save in ./
taxonomy_menu.module - Adds/Updates a taxonomy menu item.
File
- ./
taxonomy_menu.module, line 782 - Adds links to taxonomy terms into a menu.
Code
function taxonomy_menu_create_path($vid, $tid) {
// Get the path function for this vocabulary.
$function = variable_get(_taxonomy_menu_build_variable('path', $vid), 'taxonomy_menu_path_default');
// Run the function.
return $function($vid, $tid);
}