function password_strength_menu in Password Strength 5
Same name and namespace in other branches
- 6.2 password_strength.module \password_strength_menu()
- 6 password_strength.module \password_strength_menu()
- 7 password_strength.module \password_strength_menu()
Implementation of hook_menu().
File
- ./
password_strength.module, line 15
Code
function password_strength_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/password_strength',
'title' => t('Password strength'),
'description' => t('Configure password strength enforcement rules.'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'password_strength_admin_settings',
),
'access' => user_access('configure password strength'),
);
}
return $items;
}