You are here

function ldap_authentication_help in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
  2. 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
  3. 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
  4. 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;
  }
}