You are here

function ldap_profile_menu in Lightweight Directory Access Protocol (LDAP) 7

Implements hook_menu().

File

ldap_profile/ldap_profile.module, line 12
This module provides the LDAP package the ability populate drupal profile fields with ldap entry data such as last name, first name, etc.

Code

function ldap_profile_menu() {
  $items = array();
  $items['admin/config/people/ldap/profile'] = array(
    'title' => 'Profile Mapping',
    'description' => 'Configure LDAP Profile Mapping',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ldap_profile_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 7,
    'file' => 'ldap_profile.admin.inc',
  );
  return $items;
}