You are here

function taxonomy_display_taxonomy_vocabulary_delete in Taxonomy display 7

Implements hook_taxonomy_vocabulary_delete().

File

./taxonomy_display.module, line 414
Hooks for the taxonomy display module.

Code

function taxonomy_display_taxonomy_vocabulary_delete($vocabulary) {

  // Delete our display record for the vocabulary being removed.
  taxonomy_display_delete_taxonomy_display($vocabulary->machine_name, 'Taxonomy display settings deleted for %name in response to the vocabulary being deleted.', array(
    '%name' => $vocabulary->machine_name,
  ));
}