You are here

public function PasswordPolicy::adminFormSubmit in Password Policy 7.2

Form submit callback for policy administration form.

Collects configuration from all plugins into a single configuration variable.

File

includes/PasswordPolicy.inc, line 87
Contains PasswordPolicy.

Class

PasswordPolicy
Defines a class used for managing Password Policies.

Code

public function adminFormSubmit($form, &$form_state) {
  foreach ($this->items as $item) {
    $item
      ->adminFormSubmit($form, $form_state);
  }
  $form_state['item']->config = serialize($this->config);
}