function taxonomy_manager_menu in Taxonomy Manager 6.2
Same name and namespace in other branches
- 5 taxonomy_manager.module \taxonomy_manager_menu()
- 6 taxonomy_manager.module \taxonomy_manager_menu()
- 7 taxonomy_manager.module \taxonomy_manager_menu()
Implementation of hook_menu
File
- ./
taxonomy_manager.module, line 17 - Taxonomy Manager
Code
function taxonomy_manager_menu() {
$items['admin/content/taxonomy_manager'] = array(
'title' => 'Taxonomy Manager',
'description' => 'Administer vocabularies with the Taxonomy Manager',
'page callback' => 'taxonomy_manager_voc_list',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/childform'] = array(
'page callback' => 'taxonomy_manager_tree_build_child_form',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
);
$items['admin/content/taxonomy_manager/weight'] = array(
'page callback' => 'taxonomy_manager_update_weights',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/termdata'] = array(
'page callback' => 'taxonomy_manager_update_term_data_form',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/siblingsform'] = array(
'page callback' => 'taxonomy_manager_tree_build_siblings_form',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
);
$items['admin/content/taxonomy_manager/termdata/edit'] = array(
'page callback' => 'taxonomy_manager_term_data_edit',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/export'] = array(
'page callback' => 'taxonomy_manager_export',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/double-tree/edit'] = array(
'page callback' => 'taxonomy_manager_double_tree_edit',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/voc'] = array(
'title' => 'Taxonomy Manager',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'taxonomy_manager_form',
),
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/double-tree'] = array(
'title' => 'Taxonomy Manager',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'taxonomy_manager_double_tree_form',
),
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/settings/taxonomy_manager'] = array(
'title' => 'Taxonomy Manager',
'description' => 'Advanced settings for the Taxonomy Manager',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'taxonomy_manager_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'taxonomy_manager.admin.inc',
);
$items['admin/content/taxonomy_manager/toolbar/form'] = array(
'page callback' => 'taxonomy_manager_toolbar_forms',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
$items['taxonomy_manager/autocomplete'] = array(
'title' => 'Taxonomy Manager Autocomplete',
'page callback' => 'taxonomy_manager_autocomplete_load',
'access arguments' => array(
'administer taxonomy',
),
'type' => MENU_CALLBACK,
'file' => 'taxonomy_manager.admin.inc',
);
return $items;
}