You are here

function user_page_title in Drupal 7

Same name and namespace in other branches
  1. 6 modules/user/user.module \user_page_title()

Menu item title callback - use the user name.

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

File

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

Code

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