You are here

function user_badges_page in User Badges 6

Same name and namespace in other branches
  1. 5 user_badges.module \user_badges_page()
  2. 6.2 user_badges.module \user_badges_page()
  3. 7.4 user_badges.module \user_badges_page()
  4. 7 user_badges.module \user_badges_page()
  5. 7.2 user_badges.module \user_badges_page()
  6. 7.3 user_badges.module \user_badges_page()

Define the page on user/uid/badges/edit.

1 string reference to 'user_badges_page'
user_badges_menu in ./user_badges.module
Implements hook_menu().

File

./user_badges.module, line 533
@brief User Badges module file

Code

function user_badges_page($uid) {
  $account = user_load($uid);
  drupal_set_title(t('Edit badges for %user_name', array(
    '%user_name' => $account->name,
  )));
  return drupal_get_form('user_badges_change_form', $account);
}