function user_page_title

7.x user.module user_page_title($account)
6.x user.module user_page_title($account)

Menu item title callback - use the user name.

1 string reference to 'user_page_title'
user_menu in drupal-7.x/modules/user/user.module
Implements hook_menu().

File

drupal-7.x/modules/user/user.module, line 2016
Enables the user registration and login system.

Code

function user_page_title($account) {
  return is_object($account) ? format_username($account) : '';
}