You are here

function cas_ldap_menu in CAS Attributes 6.3

Same name and namespace in other branches
  1. 7 cas_ldap.module \cas_ldap_menu()

File

./cas_ldap.module, line 13
Allows user account and profile attributes to be automatically populated using tokens. Provides basic tokens for attributes returned by an LDAP server.

Code

function cas_ldap_menu() {
  $items['admin/user/cas/attributes/ldap'] = array(
    'title' => 'LDAP Tokens',
    'description' => 'Get a list of all available LDAP Tokens',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cas_ldap_list',
    ),
    'access arguments' => array(
      'administer cas',
    ),
    'file' => 'cas_ldap.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => -8,
  );
  return $items;
}