You are here

function purge_users_menu in Auto Purge Users 7

Same name and namespace in other branches
  1. 7.2 purge_users.module \purge_users_menu()

Implements hook_menu().

File

./purge_users.module, line 11
Purge users module file.

Code

function purge_users_menu() {
  $items = array();
  $items['admin/people/purge-rule'] = array(
    'title' => 'Auto Purge Users',
    'description' => 'Configure purge users.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'purge_users_config_form',
    ),
    'access arguments' => array(
      'administer user',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'purge_users.pages.inc',
    'weight' => 3,
  );
  return $items;
}