function bulkdelete_menu in Bulk Delete 6
Same name and namespace in other branches
- 7 bulkdelete.module \bulkdelete_menu()
Implementation of hook_menu().
File
- ./
bulkdelete.module, line 12 - Main file of the bulkdelete module.
Code
function bulkdelete_menu() {
$items = array();
$items['admin/content/node/delete'] = array(
'title' => 'Bulk delete nodes',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'bulkdelete_form',
),
'access arguments' => array(
'administer nodes',
),
'type' => MENU_LOCAL_TASK,
'weight' => 11,
'file' => 'bulkdelete.admin.inc',
);
/*
$items['admin/content/taxonomy/delete'] = array(
'title' => 'Bulk delete terms',
'page callback' => 'drupal_get_form',
'page arguments' => array('bulkdelete_terms_form'),
'access arguments' => array('administer taxonomy'),
'type' => MENU_LOCAL_TASK,
'weight' => 11,
'file' => 'bulkdelete.admin.inc',
);
*/
return $items;
}