function group_user_page_title in Group 7
Title callback for user/%user/group/list.
1 string reference to 'group_user_page_title'
- group_menu in ./
group.router.inc - Implements hook_menu().
File
- ./
group.router.inc, line 131 - Contains all router functions for the Group module.
Code
function group_user_page_title($account) {
global $user;
if ($user->uid == $account->uid) {
return t('My groups');
}
return t("@user's groups", array(
'@user' => format_username($account),
));
}