function menu_example_user_page_title

Same name in other branches
  1. 7.x-1.x menu_example/menu_example.module \menu_example_user_page_title()

Title callback to rename the title dynamically.

Parameters

$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 425

Code

function menu_example_user_page_title($account) {
    return t("@name's account", array(
        '@name' => $account->name,
    ));
}