You are here

function mass_pwreset_menu in Mass Password Reset 7

Implements hook_menu().

File

./mass_pwreset.module, line 21
Reset user passwords and optionally notify users.

Code

function mass_pwreset_menu() {
  $items['admin/people/mass-pwreset'] = array(
    'title' => 'Mass Password Reset',
    'description' => 'Perform mass password reset functions.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mass_pwreset_form',
    ),
    'access arguments' => array(
      'administer users',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'mass_pwreset.admin.inc',
    'weight' => 10,
  );
  return $items;
}