You are here

function user_prune_menu in User Prune 7

Implements hook_menu().

File

./user_prune.module, line 11
Module API The main module file. Implementing forms and functions.

Code

function user_prune_menu() {
  $items = array();
  $items['admin/people/user-prune'] = array(
    'title' => 'Prune inactive users',
    'description' => 'Set rules to deal with inactive users',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'user_prune_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}