You are here

function taxonomy_add_term_page in Drupal 6

Menu callback; return the edit form for a new term after setting the title.

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

File

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

Code

function taxonomy_add_term_page($vocabulary) {
  drupal_set_title(t('Add term to %vocabulary', array(
    '%vocabulary' => $vocabulary->name,
  )));
  return drupal_get_form('taxonomy_form_term', $vocabulary);
}