taxonomy_admin_term_edit

Versions
4.7
taxonomy_admin_term_edit($tid = NULL)
5 – 6
taxonomy_admin_term_edit($tid)

Page to list terms for a vocabulary

Code

modules/taxonomy.module, line 1280

<?php
function taxonomy_admin_term_edit($tid = NULL) {
  if ($_POST['op'] == t('Delete') || $_POST['edit']['confirm']) {
    return _taxonomy_confirm_del_term($tid);
  }
  elseif ($tid) {
    $term = (array)taxonomy_get_term($tid);
  }
  return taxonomy_form_term($term);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.