You are here

function ldap_authentication_admin_form in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_authentication/ldap_authentication.admin.inc \ldap_authentication_admin_form()
  2. 7 ldap_authentication/ldap_authentication.admin.inc \ldap_authentication_admin_form()

form for adding, updating, and deleting a single ldap authorization mapping

_state

Parameters

<type> $form:

Return value

array drupal form array

1 string reference to 'ldap_authentication_admin_form'
ldap_authentication_menu in ldap_authentication/ldap_authentication.module
Implements hook_menu().

File

ldap_authentication/ldap_authentication.admin.inc, line 16
Administrative page callbacks for the ldap_authentication module.

Code

function ldap_authentication_admin_form($form, &$form_state) {
  ldap_servers_module_load_include('php', 'ldap_authentication', 'LdapAuthenticationConfAdmin.class');
  $auth_conf = new LdapAuthenticationConfAdmin();
  return $auth_conf
    ->drupalForm();
}