| 1 user_form_test.module | user_form_test_user_login_paths() |
Implements hook_user_login_paths().
File
- core/
modules/ user/ tests/ user_form_test/ user_form_test.module, line 103 - Dummy module implementing a form to test user password validation
Code
function user_form_test_user_login_paths() {
$paths = array();
// If set, turn the custom password form into a user login path so that it
// uses the simplified login display.
if (state_get('user_form_test_user_paths', FALSE)) {
$paths['user_form_test_current_password/*'] = TRUE;
}
return $paths;
}