function user_view_page

Page callback wrapper for user_view().

1 string reference to 'user_view_page'
user_menu in modules/user/user.module
Implements hook_menu().

File

modules/user/user.module, line 2658

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

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