1 user.module user_view_page($account)

Page callback wrapper for user_view().

File

core/modules/user/user.module, line 2360
Enables the user registration and login system.

Code

function user_view_page($account) {
  // An administrator may try to view a non-existent account,
  // so we give them a 404 (versus a 403 for non-admins).
  return is_object($account) ? user_view($account) : MENU_NOT_FOUND;
}