function ldap_user_help in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.4 ldap_user/ldap_user.module \ldap_user_help()
- 8.2 ldap_user/ldap_user.module \ldap_user_help()
- 8.3 ldap_user/ldap_user.module \ldap_user_help()
Implements hook_help().
File
- ldap_user/
ldap_user.module, line 440 - Module for the LDAP User Entity.
Code
function ldap_user_help($path, $arg) {
$ldap_user_help = t('LDAP user configuration determines how and when
Drupal accounts are created based on LDAP data and which user fields
are derived and synched to and from LDAP. See !helplink.', [
'!helplink' => l(LDAP_USER_DRUPAL_HELP_URL, LDAP_USER_DRUPAL_HELP_URL),
]);
switch ($path) {
case 'admin/config/people/ldap/user':
$output = '<p>' . $ldap_user_help . '</p>';
return $output;
case 'admin/help#ldap_user':
$output = '<p>' . $ldap_user_help . '</p>';
return $output;
}
}