You are here

public function LdapAuthenticationConfAdmin::drupalFormValidate in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::drupalFormValidate()
  2. 7 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::drupalFormValidate()

Validate form, not object.

File

ldap_authentication/LdapAuthenticationConfAdmin.class.php, line 595

Class

LdapAuthenticationConfAdmin

Code

public function drupalFormValidate($values) {
  $this
    ->populateFromDrupalForm($values);
  $errors = $this
    ->validate();
  return $errors;
}