You are here

function user_edit in Drupal 6

Same name and namespace in other branches
  1. 4 modules/user.module \user_edit()
  2. 5 modules/user/user.module \user_edit()

Form builder; Present the form to edit a given user or profile category.

See also

user_edit_validate()

user_edit_submit()

Related topics

1 string reference to 'user_edit'
user_menu in modules/user/user.module
Implementation of hook_menu().

File

modules/user/user.pages.inc, line 236
User page callback file for the user module.

Code

function user_edit($account, $category = 'account') {
  drupal_set_title(check_plain($account->name));
  return drupal_get_form('user_profile_form', $account, $category);
}