| 6 menu_example.module | menu_example_user_page_title($account) |
| 7 menu_example.module | menu_example_user_page_title($account) |
| 8 menu_example.module | menu_example_user_page_title($account) |
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'
File
- menu_example/
menu_example.module, line 425 - Demonstrates uses of the Menu APIs in Drupal, including hook_menu(), hook_menu_alter(), and hook_menu_link_alter().
Code
function menu_example_user_page_title($account) {
return t("@name's account", array('@name' => $account->name));
}
Login or register to post comments