You are here

function linkedin_user_enable_form in LinkedIn Integration 6

Same name and namespace in other branches
  1. 7 linkedin.pages.inc \linkedin_user_enable_form()
1 string reference to 'linkedin_user_enable_form'
linkedin_user_settings in ./linkedin.pages.inc

File

./linkedin.pages.inc, line 76

Code

function linkedin_user_enable_form($form_state, $uid) {
  $form = array();
  $form['#user'] = $uid;
  $form['#action'] = url('linkedin/token/' . $uid);
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Go LinkedIn'),
    '#suffix' => '<p class="description">' . t('You will be taken to LinkedIn website in order to complete the process.') . '</p>',
  );
  return $form;
}