function taxonomy_test_taxonomy_term_delete in SimpleTest 7
Implement hook_taxonomy_term_delete().
File
- tests/
taxonomy_test.module, line 51 - 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();
}