function taxonomy_test_taxonomy_term_delete

Implements hook_taxonomy_term_delete().

File

modules/simpletest/tests/taxonomy_test.module, line 53

Code

function taxonomy_test_taxonomy_term_delete($term) {
    db_delete('taxonomy_term_antonym')->condition('tid', $term->tid)
        ->execute();
}

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