You are here

function hook_ldap_user_alter in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.2 ldap_servers/ldap_servers.api.php \hook_ldap_user_alter()
  2. 7.2 ldap_servers/ldap_servers.api.php \hook_ldap_user_alter()

Perform alterations of $ldap_user variable.

Parameters

array $ldap_entry: LDAP entry result.

array $params: Context array with some or all of the following key/values 'account' => Drupal account object, 'ldap_context' => , 'module' => module calling alter, e.g. 'ldap_user', 'function' => function calling alter, e.g. 'provisionLdapEntry'.

File

ldap_servers/ldap_servers.api.php, line 130
Hooks provided by ldap_servers module.

Code

function hook_ldap_user_alter(array &$ldap_entry, array $params) {
}