You are here

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

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

validate form, not object

File

ldap_authentication/LdapAuthenticationConfAdmin.class.php, line 516

Class

LdapAuthenticationConfAdmin

Code

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