You are here

function user_delete_menu in User Delete 6

Same name and namespace in other branches
  1. 5 user_delete.module \user_delete_menu()
  2. 6.2 user_delete.module \user_delete_menu()

Implementation of hook_menu().

File

./user_delete.module, line 32
User delete - Let users delete their own account.

Code

function user_delete_menu() {
  $items['admin/user/user_delete'] = array(
    'title' => 'User delete',
    'description' => "Configure the user delete action.",
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'user_delete_settings',
    ),
    'access arguments' => array(
      'administer users',
    ),
    'file' => 'user_delete.admin.inc',
  );
  return $items;
}