You are here

function password_policy_admin_settings in Password Policy 7.2

Same name and namespace in other branches
  1. 5 password_policy.module \password_policy_admin_settings()
  2. 6 password_policy.admin.inc \password_policy_admin_settings()
  3. 7 password_policy.admin.inc \password_policy_admin_settings()

Ctools exportable 'settings' callback.

See also

plugins/export_ui/password_policy.inc

1 string reference to 'password_policy_admin_settings'
password_policy.inc in plugins/export_ui/password_policy.inc
Export UI Ctools plugin for Password Policy module.

File

./password_policy.module, line 151
Enforces password policies.

Code

function password_policy_admin_settings(&$form, &$form_state) {
  $item = $form_state['item'];
  $policy = new PasswordPolicy($item);
  $form = $policy
    ->adminForm($form, $form_state);
  $form['info']['name']['#description'] .= ' ' . t('This is not case sensitive, so "abc" is the same as "ABC" and "aBc".');
  $form_state['policy'] = $policy;
  return $form;
}