function fbconnect_profile_user in Facebook Connect 5
Implementation of hook_user().
File
- modules/
fbconnect_profile/ fbconnect_profile.module, line 158 - This module allows users to import their personal information from Facebook.
Code
function fbconnect_profile_user($op, &$edit, &$account, $category = NULL) {
switch ($op) {
case 'view':
if ($info = fbconnect_profile_get_profile($account->uid)) {
$items['fbconnect_profile'] = array(
'value' => theme('fb_user_profile', $info, $account),
'class' => 'member',
);
return array(
t('Personal information') => $items,
);
}
break;
}
}