You are here

function taxonomy_menu_taxonomy_menu_delete in Taxonomy menu 6.2

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

hook_taxonomy_menu_delete

Parameters

$args: array( 'vid' => Vocab ID 'tid' => TermID 'mlid' => Menu ID )

1 call to taxonomy_menu_taxonomy_menu_delete()
taxonomy_menu_translated_menu_link_alter in ./taxonomy_menu.module
Implementation of hook_translated_menu_link_alter().

File

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

Code

function taxonomy_menu_taxonomy_menu_delete(&$item) {
  menu_link_delete($item['mlid']);
  _taxonomy_menu_delete_item($item['vid'], $item['tid']);
  unset($item['mlid']);
}