function realname_user_view in Real Name 6
Same name and namespace in other branches
- 8 realname.module \realname_user_view()
 - 7 realname.module \realname_user_view()
 - 2.x realname.module \realname_user_view()
 
Intercept the user page view. Modified from user.module. Fix some core bugs.
1 string reference to 'realname_user_view'
- realname_page_manager_override in ./
realname.module  - Ask Page Manager to use our version of the node page view instead of Drupal's when falling back.
 
File
- ./
realname.module, line 228  
Code
function realname_user_view($account) {
  realname_check_breadcrumbs($account);
  drupal_set_title(check_plain(realname_user_page_title($account)));
  // Retrieve all profile fields and attach to $account->content.
  user_build_content($account);
  // To theme user profiles, copy modules/user/user_profile.tpl.php
  // to your theme directory, and edit it as instructed in that file's comments.
  return theme('user_profile', $account);
}