You are here

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

validate form, not object

File

ldap_profile/LdapProfileConfAdmin.class.php, line 183

Class

LdapProfileConfAdmin

Code

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