You are here

function ldap_authentication_menu in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_menu()
  2. 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_menu()

Implements hook_menu().

File

ldap_authentication/ldap_authentication.module, line 55
This module injects itself into Drupal's Authentication stack.

Code

function ldap_authentication_menu() {
  $items = array();
  $items['admin/config/people/ldap/authentication'] = array(
    'title' => 'Authentication',
    'description' => 'Configure LDAP Authentication',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ldap_authentication_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
    'file' => 'ldap_authentication.admin.inc',
  );
  return $items;
}