function ldap_authentication_help in Lightweight Directory Access Protocol (LDAP) 8.3
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()
- 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
- 7 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
Implements hook_help().
File
- ldap_authentication/
ldap_authentication.module, line 16 - 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, OpenID, etc. More detailed help is available on drupal.org at !helplink.', [
'%helplink' => \Drupal::l('http://drupal.org/node/997082', Url::fromUri('http://drupal.org/node/997082')),
]);
switch ($path) {
case 'admin/config/people/ldap/authentication':
case 'admin/help#ldap_authentication':
$output = '<p>' . $authentication_help . '</p>';
return $output;
}
}