You are here

function ldap_authorization_help in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.4 ldap_authorization/ldap_authorization.module \ldap_authorization_help()
  2. 8.2 ldap_authorization/ldap_authorization.module \ldap_authorization_help()
  3. 8.3 ldap_authorization/ldap_authorization.module \ldap_authorization_help()
  4. 7 ldap_authorization/ldap_authorization.module \ldap_authorization_help()

File

ldap_authorization/ldap_authorization.module, line 283
Ldap authorization module.

Code

function ldap_authorization_help($path, $arg) {
  $authorization_help = t('LDAP authorization allows LDAP data such as group memberships,
    user attributes, etc to determine user authorization (Drupal roles, organic group memberships,
    etc.)
    More detailed help is available on drupal.org at !helplink.', [
    '!helplink' => l(LDAP_SERVERS_DRUPAL_HELP_URL, LDAP_SERVERS_DRUPAL_HELP_URL),
  ]);
  switch ($path) {
    case 'admin/config/people/ldap/authorization':
      $output = '<p>' . $authorization_help . '</p>';
      return $output;
    case 'admin/help#ldap_authorization':
      $output = '<p>' . $authorization_help . '</p>';
      return $output;
  }
}