function ldap_user_module_implements_alter in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_user/ldap_user.module \ldap_user_module_implements_alter()
Implements hook_module_implements_alter().
File
- ldap_user/
ldap_user.module, line 90 - Module for the LDAP User Entity.
Code
function ldap_user_module_implements_alter(&$implementations, $hook) {
// We are moving authorization to the end because its user saving causes
// issues.
if ($hook == 'user_login' && isset($implementations['authorization'])) {
$group = $implementations['authorization'];
unset($implementations['authorization']);
$implementations['authorization'] = $group;
}
}