You are here

function taxonomy_menu_taxonomy_menu_save in Taxonomy menu 7.2

Same name and namespace in other branches
  1. 8 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 327
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->tid, $term->vid, $menu_link['language']);
  }
}