You are here

function recovery_pass_menu in Recovery Password (Email New Password) 7

Implements hook_menu().

File

./recovery_pass.module, line 34
Alters default Drupal password recovery process by overriding default submit.

Code

function recovery_pass_menu() {
  $items = array();

  // Menu item for module configurations.
  $items['admin/config/people/recovery-pass'] = array(
    'title' => 'Recovery Password Configuration',
    'description' => 'Configure email message to be sent to user for password recovery.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'recovery_pass_config_form',
    ),
    'access arguments' => array(
      'administer users',
    ),
    'file' => 'recovery_pass.admin.inc',
  );
  return $items;
}