public function LdapAuthenticationConfAdmin::drupalFormSubmit in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::drupalFormSubmit()
- 7.2 ldap_authentication/LdapAuthenticationConfAdmin.class.php \LdapAuthenticationConfAdmin::drupalFormSubmit()
File
- ldap_authentication/
LdapAuthenticationConfAdmin.class.php, line 574
Class
Code
public function drupalFormSubmit($values) {
$this
->populateFromDrupalForm($values);
try {
$save_result = $this
->save();
} catch (Exception $e) {
$this->errorName = 'Save Error';
$this->errorMsg = t('Failed to save object. Your form data was not saved.');
$this->hasError = TRUE;
}
}