function hook_simple_fb_connect_register_alter in Simple FB Connect 7
Same name and namespace in other branches
- 7.2 simple_fb_connect.api.php \hook_simple_fb_connect_register_alter()
Allow modules to play with the information received from the FB profile like mapping it to fields in user profile.
Parameters
$fields: The fields array to be stored with user profile in user_save. Modify these values with values from $fb_user_profile to populate User Profile with values from FB while creating new user.
$fb_user_profile: The user array received from Facebook. Contains information about your user received from facebook
1 invocation of hook_simple_fb_connect_register_alter()
- simple_fb_connect_login in ./
simple_fb_connect.module - Page callback for the FB Connect URL.
File
- ./
simple_fb_connect.api.php, line 27 - Hooks provided by the Simple FB Connect module.
Code
function hook_simple_fb_connect_register_alter(&$fields, $fb_user_profile) {
//Do stuff with $fields
}