function user_form_test_menu

Implements hook_menu().

Sets up a form that allows a user to validate password.

File

modules/user/tests/user_form_test.module, line 13

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.