function linkedin_user_settings_form in LinkedIn Integration 7
Same name and namespace in other branches
- 6 linkedin.pages.inc \linkedin_user_settings_form()
@todo Please document this function.
See also
1 string reference to 'linkedin_user_settings_form'
- linkedin_user_settings in ./
linkedin.pages.inc - @todo Please document this function.
File
- ./
linkedin.pages.inc, line 114
Code
function linkedin_user_settings_form($form, &$form_state, $account) {
// Just fetch forms from submodules.
$form['linkedin']['elements'] = module_invoke_all('linkedin_user_settings_page', $account);
// We will need the account at submit
$form['#account'] = $account;
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'Save',
);
$form['linkedin']['reset'] = array(
'#type' => 'submit',
'#description' => t('Click here to unlink your LinkedIn account.'),
'#value' => t('Unlink'),
);
return $form;
}