You are here

public function PasswordPolicyItem::adminFormSubmit in Password Policy 7.2

Form submission handler for adminForm().

File

includes/PasswordPolicyItem.inc, line 77
Contains PasswordPolicyItem.

Class

PasswordPolicyItem
Class PasswordPolicyItem.

Code

public function adminFormSubmit($form, &$form_state) {
  foreach ($this->info['config'] as $id => $default) {
    if (isset($form_state['values'][$id])) {
      $this->config[$id] = $form_state['values'][$id];
    }
  }
}