You are here

function ldapauth_info in LDAP integration 5.2

Same name and namespace in other branches
  1. 5 ldapauth.module \ldapauth_info()

Implements hook_info() required for authentication modules

File

./ldapauth.module, line 48

Code

function ldapauth_info($field = 0) {
  $info['name'] = 'LDAP authentication';
  $info['protocol'] = 'LDAP';
  if ($field) {
    return $info[$field];
  }
  else {
    return $info;
  }
}