function user_badges_page in User Badges 5
Same name and namespace in other branches
- 6.2 user_badges.module \user_badges_page()
- 6 user_badges.module \user_badges_page()
- 7.4 user_badges.module \user_badges_page()
- 7 user_badges.module \user_badges_page()
- 7.2 user_badges.module \user_badges_page()
- 7.3 user_badges.module \user_badges_page()
Define the page on user/uid/badges.
1 string reference to 'user_badges_page'
- user_badges_menu in ./
user_badges.module - Implementation of hook_menu().
File
- ./
user_badges.module, line 231 - @brief User Badges module file
Code
function user_badges_page() {
$uid = arg(1);
$account = user_load(array(
'uid' => $uid,
));
drupal_set_title(t('Edit badges for %user_name', array(
'%user_name' => $account->name,
)));
return drupal_get_form('user_badges_page_form', $account);
}