function taxonomy_menu_taxonomy_menu_save in Taxonomy menu 8
Same name and namespace in other branches
- 7.2 taxonomy_menu.module \taxonomy_menu_taxonomy_menu_save()
Implements hook_taxonomy_menu_save().
Updates {taxonomy_menu} table using the newly created menu item.
File
- ./
taxonomy_menu.module, line 324 - Generates menu links for all selected taxonomy terms.
Code
function taxonomy_menu_taxonomy_menu_save($term, $menu_link, $mlid) {
if ($menu_link->taxonomy_menu['update'] == FALSE) {
_taxonomy_menu_insert_menu_item($mlid, $term
->id(), $term
->bundle(), $menu_link->language);
}
}