You are here

function ldap_help_help in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.2 ldap_help/ldap_help.module \ldap_help_help()
  2. 7.2 ldap_help/ldap_help.module \ldap_help_help()

Implements hook_help().

File

ldap_help/ldap_help.module, line 13
Drupal help information for ldap_help.

Code

function ldap_help_help($route_name, RouteMatchInterface $route_match) {
  $help = '<h3>' . t('LDAP Help Module') . '</h3>';
  $help .= '<p>' . t('This module assists Drupal admins in configuring, debugging, sharing, and submitting support and bug request related to LDAP modules.');
  $help .= '<strong><em> ' . t('LDAP Help Module should be disabled unless you are debugging or configuring LDAP problems.') . ' </em></strong>';
  $help .= t('It adds no functionality to the LDAP modules.') . '</p>';
  switch ($route_name) {
    case 'admin/config/people/ldap/help':
    case 'admin/help#ldap_help':
      return '<p>' . $help . '</p>';
  }
}