On this page
function path_taxonomy_term_delete
path_taxonomy_term_delete($term)
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));
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!path!path.module/function/path_taxonomy_term_delete/7.x