You are here

function pathauto_taxonomy_term_delete in Pathauto 7

Implements hook_taxonomy_term_delete().

File

./pathauto.module, line 853
Main file for the Pathauto module, which automatically generates aliases for content.

Code

function pathauto_taxonomy_term_delete($term) {
  pathauto_entity_path_delete_all('taxonomy_term', $term, "taxonomy/term/{$term->tid}");
}