You are here

function tvi_taxonomy_vocabulary_delete in Taxonomy Views Integrator 7

Same name and namespace in other branches
  1. 8 tvi.module \tvi_taxonomy_vocabulary_delete()

Implements hook_taxonomy_vocabulary_delete().

Remove TVI settings when vocabularies are deleted.

File

./tvi.module, line 140
Allow to define views to be used instead of default drupal behavior on taxonomy terms pages.

Code

function tvi_taxonomy_vocabulary_delete($vocabulary) {
  tvi_include('query');
  tvi_remove_settings($vocabulary->vid, TVI_TYPE_VOCAB);
}