function user_form_test_menu in Drupal 7
Implements hook_menu().
Sets up a form that allows a user to validate password.
File
- modules/
user/ tests/ user_form_test.module, line 13 - Dummy module implementing a form to test user password validation
Code
function user_form_test_menu() {
$items = array();
$items['user_form_test_current_password/%user'] = array(
'title' => 'User form test for current password validation',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'user_form_test_current_password',
1,
),
'access arguments' => array(
'administer users',
),
'type' => MENU_SUGGESTED_ITEM,
);
return $items;
}