You are here

function password_strength_elements in Password Strength 5

Same name and namespace in other branches
  1. 6 password_strength.module \password_strength_elements()

Implementation of hook_elements

File

./password_strength.module, line 165

Code

function password_strength_elements() {

  // Override the default password_confirm processor
  $type['password_confirm'] = array(
    '#input' => TRUE,
    '#process' => array(
      'password_strength_expand_password_confirm' => array(),
    ),
  );
  return $type;
}