You are here

function ldap_authentication_help in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.2 ldap_authentication/ldap_authentication.module \ldap_authentication_help()
  2. 8.3 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 17

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' => Link::fromTextAndUrl('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':
      return '<p>' . $authentication_help . '</p>';
  }
}