You are here

function taxonomy_menu_taxonomy_menu_update in Taxonomy menu 6.2

Same name and namespace in other branches
  1. 7 taxonomy_menu.module \taxonomy_menu_taxonomy_menu_update()

Implementation of hook_taxonomy_menu_update().

Parameters

$item: array with the following key/value pairs: 'tid' => the term id (if 0 then updating the vocab as an item) 'name' => new menu name 'description' => new menu description, used as to build the title attribute 'weight' => new menu weight 'vid' => the new vocabulary's id 'ptid' => the new parent tid 'mlid' => mlid that needs to be edited 'remove' => if this is set to TRUE then the $item is not added as a menu

File

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

Code

function taxonomy_menu_taxonomy_menu_update(&$item) {
  $item = _taxonomy_menu_item($item);
}