You are here

function ldap_authentication_menu in Lightweight Directory Access Protocol (LDAP) 8.2

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

Implements hook_menu().

File

ldap_authentication/ldap_authentication.module, line 58
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' => 3,
    'file' => 'ldap_authentication.admin.inc',
  );
  return $items;
}