You are here

function fb_format_username in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 6.3 fb.module \fb_format_username()

This function will be replaced, hopefully, by format_username in D7.

See http://drupal.org/node/192056

File

./fb.module, line 952

Code

function fb_format_username($account) {
  $name = !empty($account->name) ? $account->name : variable_get('anonymous', t('Anonymous'));
  drupal_alter('username', $name, $account);
  return $name;
}