function fboauth_profile_form_submit in Facebook OAuth (FBOAuth) 7
Same name and namespace in other branches
- 6 includes/fboauth.profile.inc \fboauth_profile_form_submit()
- 7.2 includes/fboauth.profile.inc \fboauth_profile_form_submit()
Submit handler for the Facebook OAuth settings form.
1 call to fboauth_profile_form_submit()
- fboauth_settings_form_submit in includes/
fboauth.pages.inc - Form submission function for fboauth_settings_form().
File
- includes/
fboauth.profile.inc, line 71 - Functions to assist with handling with Profile module data.
Code
function fboauth_profile_form_submit(&$form, &$form_state) {
if (isset($form_state['values']['fboauth_user_profile'])) {
variable_set('fboauth_user_profile', array_filter($form_state['values']['fboauth_user_profile']));
}
}