You are here

function comment_delete_menu in Comment Delete 7

Same name and namespace in other branches
  1. 6 comment_delete.module \comment_delete_menu()

Implements hook_menu().

File

./comment_delete.module, line 43
comment_delete.module

Code

function comment_delete_menu() {
  $items['admin/content/comment/deletion'] = array(
    'title' => 'Deletion',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'comment_delete_settings_form',
    ),
    'access arguments' => array(
      'administer comments',
    ),
    'file' => 'comment_delete.admin.inc',
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}