function location_taxonomy_taxonomy_term_delete in Location 7.3
Same name and namespace in other branches
- 7.5 contrib/location_taxonomy/location_taxonomy.module \location_taxonomy_taxonomy_term_delete()
Implements hook_taxonomy_term_delete().
File
- contrib/
location_taxonomy/ location_taxonomy.module, line 24 - Associate locations with taxonomy terms.
Code
function location_taxonomy_taxonomy_term_delete($term) {
$locations = array();
location_save_locations($locations, array(
'genid' => 'taxonomy:' . $term->tid,
));
}