You are here

function ldap_profile_info in Lightweight Directory Access Protocol (LDAP) 7

Implements hook_info().

File

ldap_profile/ldap_profile.module, line 62
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_info($field = 0) {
  $info['name'] = 'ldap_profile';
  $info['protocol'] = 'LDAP';
  if ($field) {
    return $info[$field];
  }
  return $info;
}