function openid_menu
Implements hook_menu().
File
-
modules/
openid/ openid.module, line 11
Code
function openid_menu() {
$items['openid/authenticate'] = array(
'title' => 'OpenID Login',
'page callback' => 'openid_authentication_page',
'access callback' => 'user_is_anonymous',
'type' => MENU_CALLBACK,
'file' => 'openid.pages.inc',
);
$items['user/%user/openid'] = array(
'title' => 'OpenID identities',
'page callback' => 'openid_user_identities',
'page arguments' => array(
1,
),
'access callback' => 'user_edit_access',
'access arguments' => array(
1,
),
'type' => MENU_LOCAL_TASK,
'file' => 'openid.pages.inc',
);
$items['user/%user/openid/delete'] = array(
'title' => 'Delete OpenID',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'openid_user_delete_form',
1,
),
'access callback' => 'user_edit_access',
'access arguments' => array(
1,
),
'file' => 'openid.pages.inc',
);
return $items;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.