You are here

function ldap_user_help in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_user/ldap_user.module \ldap_user_help()
  2. 8.2 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 73
Module for the LDAP User Entity.

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.');
  switch ($route_name) {
    case 'help.page.ldap_user':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . $ldap_user_help . '</p>';
      return $output;
  }
}