function ldap_authentication_help in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.4 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
- 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
- 8.3 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
- 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
Implements hook_help().
File
- ldap_authentication/
ldap_authentication.module, line 134 - This module injects itself into Drupal's Authentication stack.
Code
function ldap_authentication_help($path, $arg) {
$authentication_help = t('LDAP authentication allows authentication against an LDAP server. It
may be used alongside other authentication means such as built in drupal authentication,
open id, etc. More detailed help is available on drupal.org at !helplink.', array(
'!helplink' => l(LDAP_SERVERS_DRUPAL_HELP_URL, LDAP_SERVERS_DRUPAL_HELP_URL),
));
switch ($path) {
case 'admin/config/people/ldap/authentication':
$output = '<p>' . $authentication_help . '</p>';
return $output;
case 'admin/help#ldap_authentication':
$output = '<p>' . $authentication_help . '</p>';
return $output;
}
}