function path_taxonomy_term_delete

Implements hook_taxonomy_term_delete().

File

modules/path/path.module, line 310

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.