Implements hook_taxonomy_term_delete().
function path_taxonomy_term_delete(Term $term) {
// Delete all aliases associated with this term.
drupal_container()
->get('path.crud')
->delete(array(
'source' => 'taxonomy/term/' . $term->tid,
));
}