function path_taxonomy_term_delete

7.x path.module path_taxonomy_term_delete($term)

Implements hook_taxonomy_term_delete().

File

drupal-7.x/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));
}