You are here

function ldap_user_help in Lightweight Directory Access Protocol (LDAP) 8.4

Same name and namespace in other branches
  1. 8.2 ldap_user/ldap_user.module \ldap_user_help()
  2. 8.3 ldap_user/ldap_user.module \ldap_user_help()
  3. 7.2 ldap_user/ldap_user.module \ldap_user_help()

Implements hook_help().

File

ldap_user/ldap_user.module, line 65

Code

function ldap_user_help($route_name, RouteMatchInterface $route_match) {
  $ldap_user_help = t('LDAP user configuration determines how and when
     Drupal accounts are created based on LDAP data and which user fields
     are derived and synced to and from LDAP.');
  if ($route_name === 'help.page.ldap_user') {
    $output = '<h3>' . t('About') . '</h3>';
    $output .= '<p>' . $ldap_user_help . '</p>';
    return $output;
  }
}