You are here

function rh_taxonomy_taxonomy_vocabulary_delete in Rabbit Hole 7.2

Implements hook_taxonomy_vocabulary_delete().

File

modules/rh_taxonomy/rh_taxonomy.module, line 94
Main module file for Rabbit Hole taxonomy terms module.

Code

function rh_taxonomy_taxonomy_vocabulary_delete($vocabulary) {

  // Delete variables connected to this vocabulary.
  rabbit_hole_delete_variables('taxonomy_term', $vocabulary->machine_name);
}