You are here

function password_strength_menu in Password Strength 6

Same name and namespace in other branches
  1. 5 password_strength.module \password_strength_menu()
  2. 6.2 password_strength.module \password_strength_menu()
  3. 7 password_strength.module \password_strength_menu()

Implementation of hook_menu().

File

./password_strength.module, line 19
Server side checks for newly submittted passwords

Code

function password_strength_menu() {
  $items = array();
  $items['admin/settings/password_strength'] = array(
    'title' => 'Password strength',
    'description' => 'Configure password strength enforcement rules.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'password_strength_admin_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'configure password strength',
    ),
  );
  return $items;
}