You are here

function ldap_authentication_admin_form in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_authentication/ldap_authentication.admin.inc \ldap_authentication_admin_form()
  2. 7.2 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 17
Administrative page callbacks for the ldap_authentication module.

Code

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