You are here

function twitter_auth_account_form in Twitter 7.5

Same name and namespace in other branches
  1. 6.5 twitter.pages.inc \twitter_auth_account_form()
  2. 7.6 twitter.pages.inc \twitter_auth_account_form()

Form to add an authenticated Twitter account.

1 string reference to 'twitter_auth_account_form'
twitter_user_settings in ./twitter.pages.inc
Form builder that lists Twitter accounts.

File

./twitter.pages.inc, line 367
Page callbacks for Twitter module.

Code

function twitter_auth_account_form($form, $form_state) {
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Go to Twitter to add an authenticated account'),
    '#prefix' => t('Authenticated accounts can post, sign in and pull mentions. ' . 'At least one authenticated account is needed for Twitter ' . 'module to work.</br>'),
  );
  return $form;
}