function linkedin_user_settings_form in LinkedIn Integration 6
Same name and namespace in other branches
- 7 linkedin.pages.inc \linkedin_user_settings_form()
1 string reference to 'linkedin_user_settings_form'
File
- ./
linkedin.pages.inc, line 92
Code
function linkedin_user_settings_form($form_state, $account) {
// Just fetch forms from submodules.
$form = module_invoke_all('linkedin_user_settings_page', $form_state, $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;
}