You are here

function linkedin_user_enable_form in LinkedIn Integration 7

Same name and namespace in other branches
  1. 6 linkedin.pages.inc \linkedin_user_enable_form()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'linkedin_user_enable_form'
linkedin_user_settings in ./linkedin.pages.inc
@todo Please document this function.

File

./linkedin.pages.inc, line 94

Code

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