function 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/core/modules/openid/openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.

File

drupal/core/modules/openid/openid.pages.inc, line 86
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;
}