You are here

function noreqnewpass_menu in No Request New Password 7

Same name and namespace in other branches
  1. 5 noreqnewpass.module \noreqnewpass_menu()
  2. 6 noreqnewpass.module \noreqnewpass_menu()
  3. 7.2 noreqnewpass.module \noreqnewpass_menu()

Implementation of hook_menu().

File

./noreqnewpass.module, line 6

Code

function noreqnewpass_menu() {
  $items = array();
  $items['admin/people/noreqnewpass'] = array(
    'title' => 'No Request New Password',
    'description' => 'Manage password preferences',
    'access arguments' => array(
      'administer noreqnewpass',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'noreqnewpass_admin_form',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}