You are here

function taxonomy_menu_taxonomy_vocabulary_delete in Taxonomy menu 8

Same name and namespace in other branches
  1. 7.2 taxonomy_menu.module \taxonomy_menu_taxonomy_vocabulary_delete()
  2. 7 taxonomy_menu.module \taxonomy_menu_taxonomy_vocabulary_delete()

Implements hook_taxonomy_vocabulary_delete().

File

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

Code

function taxonomy_menu_taxonomy_vocabulary_delete(Vocabulary $vocabulary) {
  taxonomy_menu_menu_links_delete($vocabulary
    ->id());
}