function menu_example_user_page_title
Title callback to rename the title dynamically, based on user_page_title().
Parameters
object $account: User account related to the visited page.
Related topics
1 string reference to 'menu_example_user_page_title'
- menu_example_menu_alter in menu_example/
menu_example.module - Implements hook_menu_alter().
File
-
menu_example/
menu_example.module, line 486
Code
function menu_example_user_page_title($account) {
return is_object($account) ? t("@name's account", array(
'@name' => format_username($account),
)) : '';
}