Same name and namespace in other branches
  1. 4.7.x modules/taxonomy.module \taxonomy_admin_term_edit()
  2. 5.x modules/taxonomy/taxonomy.module \taxonomy_admin_term_edit()

Page to edit a vocabulary term.

1 string reference to 'taxonomy_admin_term_edit'
taxonomy_menu in modules/taxonomy/taxonomy.module
Implementation of hook_menu().

File

modules/taxonomy/taxonomy.admin.inc, line 228
Administrative page callbacks for the taxonomy module.

Code

function taxonomy_admin_term_edit($tid) {
  if ($term = (array) taxonomy_get_term($tid)) {
    return drupal_get_form('taxonomy_form_term', taxonomy_vocabulary_load($term['vid']), $term);
  }
  return drupal_not_found();
}