function user_edit

6.x user.pages.inc user_edit($account, $category = 'account')

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 drupal-6.x/modules/user/user.module
Implementation of hook_menu().

File

drupal-6.x/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);
}