Implements hook_taxonomy_term_load().
function taxonomy_test_taxonomy_term_load($terms) { foreach ($terms as $term) { $antonym = taxonomy_test_get_antonym($term->tid); if ($antonym) { $term->antonym = $antonym; } } }