user_view_page
function user_view_page
user_view_page($account)
Page callback wrapper for user_view().
File
- modules/user/user.module, line 2614
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.module/function/user_view_page/7.x