function taxonomy_test_taxonomy_term_delete
7.x taxonomy_test.module | taxonomy_test_taxonomy_term_delete($term) |
Implements hook_taxonomy_term_delete().
File
- drupal-7.x/
modules/ simpletest/ tests/ taxonomy_test.module, line 53 - Test module for Taxonomy hooks and functions not used in core.
Code
function taxonomy_test_taxonomy_term_delete($term) {
db_delete('taxonomy_term_antonym')
->condition('tid', $term->tid)
->execute();
}