function password_strength_menu in Password Strength 6.2
Same name and namespace in other branches
- 5 password_strength.module \password_strength_menu()
- 6 password_strength.module \password_strength_menu()
- 7 password_strength.module \password_strength_menu()
Implements hook_menu().
File
- ./
password_strength.module, line 24 - Provides password controls, validation, and strength checker.
Code
function password_strength_menu() {
$items = array();
$items['system/password-strength-check'] = array(
'title' => 'Check password',
'page callback' => 'password_strength_ajax_check',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['admin/settings/password-strength'] = array(
'title' => 'Password Strength settings',
'description' => 'Manage password strength settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'password_strength_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'password_strength.admin.inc',
'weight' => 20,
);
return $items;
}