You are here

function ldap_sso_menu in LDAP Single Sign On 6

Same name and namespace in other branches
  1. 7.2 ldap_sso.module \ldap_sso_menu()
  2. 7 ldap_sso.module \ldap_sso_menu()

Implementation of hook_menu().

Return value

An array of menu items.

File

./ldap_sso.module, line 57

Code

function ldap_sso_menu() {
  $items = array();
  $items['user/login/sso'] = array(
    'title' => t('Log In'),
    'page callback' => 'ldap_sso_user_login',
    'access callback' => '_ldap_sso_user_access',
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/settings/ldap/sso'] = array(
    'title' => 'LDAP Single Sign-On',
    'page callback' => 'ldap_sso_admin',
    'page arguments' => array(),
    'access arguments' => array(
      'administer ldap modules',
    ),
    'weight' => 0,
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}