You are here

function ldap_authentication_info in Lightweight Directory Access Protocol (LDAP) 7

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

Implements hook_info().

File

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

Code

function ldap_authentication_info($field = 0) {
  $info['name'] = 'ldap_authentication';
  $info['protocol'] = 'LDAP';
  if ($field) {
    return $info[$field];
  }
  return $info;
}