function taxonomy_manager_update_term_data_form in Taxonomy Manager 5
Same name and namespace in other branches
- 6.2 taxonomy_manager.admin.inc \taxonomy_manager_update_term_data_form()
- 6 taxonomy_manager.admin.inc \taxonomy_manager_update_term_data_form()
menu callback for displaying term data form
if this function gets called by ahah, then the term data form gets generated, rendered and return otherwise, if no ahah call, redirect to original form with $vid and $tid as parameters
Parameters
$vid:
$tid:
$ahah if true, return rendered form, else redirect:
1 string reference to 'taxonomy_manager_update_term_data_form'
- taxonomy_manager_menu in ./
taxonomy_manager.module - Implementation of hook_menu
File
- ./
taxonomy_manager.module, line 664 - Taxonomy Manager
Code
function taxonomy_manager_update_term_data_form($vid, $tid, $ahah = FALSE) {
if (!$ahah) {
drupal_goto('admin/content/taxonomy_manager/' . $vid . '/' . $tid);
}
$GLOBALS['devel_shutdown'] = FALSE;
//prevent devel queries footprint
$form = taxonomy_manager_form_term_data($tid);
$form = form_builder('taxonomy_manager_form', $form);
$output = drupal_render($form);
print $output;
exit;
}