You are here

function path_taxonomy_term_delete in Drupal 7

Implements hook_taxonomy_term_delete().

File

modules/path/path.module, line 310
Enables users to rename URLs.

Code

function path_taxonomy_term_delete($term) {

  // Delete all aliases associated with this term.
  path_delete(array(
    'source' => 'taxonomy/term/' . $term->tid,
  ));
}