function cas_ldap_menu in CAS Attributes 7
Same name and namespace in other branches
- 6.3 cas_ldap.module \cas_ldap_menu()
Implements hook_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/config/people/cas/attributes/ldap'] = array(
'title' => 'LDAP Tokens',
'description' => 'Get a list of all available LDAP Tokens',
'page callback' => 'cas_ldap_list',
'access arguments' => array(
'administer cas',
),
'file' => 'cas_ldap.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => -8,
);
return $items;
}