You are here

function ldap_user_help in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 8.4 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 428
Module for the LDAP User Entity

Code

function ldap_user_help($path, $arg) {
  $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 synched to and from LDAP. See !helplink.', array(
    '!helplink' => l(LDAP_USER_DRUPAL_HELP_URL, LDAP_USER_DRUPAL_HELP_URL),
  ));
  switch ($path) {
    case 'admin/config/people/ldap/user':
      $output = '<p>' . $ldap_user_help . '</p>';
      return $output;
    case 'admin/help#ldap_user':
      $output = '<p>' . $ldap_user_help . '</p>';
      return $output;
  }
}