1 user_form_test.module user_form_test_menu()

Implements hook_menu().

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


core/modules/user/tests/user_form_test/user_form_test.module, line 12
Dummy module implementing a form to test user password validation


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' => 'backdrop_get_form',
    'page arguments' => array('user_form_test_current_password', 1),
    'access arguments' => array('administer users'),
    'type' => MENU_SUGGESTED_ITEM,
  return $items;