'Taxonomy Term Status Test Term List', 'access callback' => TRUE, 'page callback' => 'termstatus_test_term_list', 'page arguments' => array(1), ); return $items; } /** * Return the vocabulary object. */ function termstatus_test_vocabulary_load($vid) { return taxonomy_vocabulary_load($vid); } /** * Page callback: List terms of a given vocabulary. */ function termstatus_test_term_list($vocabulary = NULL) { $vid = isset($vocabulary->vid) ? $vocabulary->vid : NULL; $terms = taxonomy_get_tree($vid); $items = array(); foreach ($terms as $term) { $items[] = l($term->name, 'taxonomy/term/' . $term->tid); } return theme('item_list', array( 'items' => $items, )); }