path_taxonomy_term_delete

Versions
7
path_taxonomy_term_delete($term)

Implements hook_taxonomy_term_delete().

Code

modules/path/path.module, line 303

<?php
function path_taxonomy_term_delete($term) {
  // Delete all aliases associated with this term.
  path_delete(array('source' => 'taxonomy/term/' . $term->tid));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.