function openid_user_add

7.x openid.pages.inc openid_user_add()
6.x openid.pages.inc openid_user_add()

Form builder; Add an OpenID identity.

See also

openid_user_add_validate()

Related topics

1 string reference to 'openid_user_add'
openid_user_identities in drupal-7.x/modules/openid/openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.

File

drupal-7.x/modules/openid/openid.pages.inc, line 71
User page callbacks for the openid module.

Code

function openid_user_add() {
  $form['openid_identifier'] = array(
    '#type' => 'textfield',
    '#title' => t('OpenID'),
  );
  $form['actions'] = array('#type' => 'actions');
  $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Add an OpenID'));
  return $form;
}