function janrain_capture_menu in Janrain Registration 6
Same name and namespace in other branches
- 7.4 janrain_capture.module \janrain_capture_menu()
- 7 janrain_capture.module \janrain_capture_menu()
- 7.2 janrain_capture.module \janrain_capture_menu()
- 7.3 janrain_capture.module \janrain_capture_menu()
Implements hook_menu().
File
- ./
janrain_capture.module, line 15
Code
function janrain_capture_menu() {
$items['janrain_capture/oauth'] = array(
'title' => 'Capture Oauth Receiver',
'page callback' => 'janrain_capture_oauth',
'access callback' => 'user_is_anonymous',
'type' => MENU_CALLBACK,
'file' => 'janrain_capture.pages.inc',
);
$items['janrain_capture/profile'] = array(
'title' => 'Capture Profile',
'page callback' => 'janrain_capture_profile',
'access callback' => 'user_is_logged_in',
'type' => MENU_CALLBACK,
'file' => 'janrain_capture.pages.inc',
);
$items['janrain_capture/profile_sync'] = array(
'title' => 'Capture Profile Receiver',
'page callback' => 'janrain_capture_profile_sync',
'access callback' => 'user_is_logged_in',
'type' => MENU_CALLBACK,
'file' => 'janrain_capture.pages.inc',
);
$items['janrain_capture/resend_verification_email'] = array(
'title' => 'Capture Verification Email Resent',
'page callback' => 'janrain_capture_resend_verification_email',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
'file' => 'janrain_capture.pages.inc',
);
$items['admin/settings/janrain_capture'] = array(
'title' => 'Janrain Capture',
'description' => 'Configure settings for Janrain Capture module.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'janrain_capture_settings',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'janrain_capture.admin.inc',
);
$items['janrain_capture/token_expired/%'] = array(
'title' => 'Capture Token Expired',
'page callback' => 'janrain_capture_token_expired',
'access callback' => 'janrain_capture_token_expired_access',
'access arguments' => array(
2,
),
'type' => MENU_CALLBACK,
'file' => 'janrain_capture.pages.inc',
);
return $items;
}