You are here

function better_passwords_element_info_alter in Better Passwords 8

Same name and namespace in other branches
  1. 2.x better_passwords.module \better_passwords_element_info_alter()

Implements hook_element_info_alter().

File

./better_passwords.module, line 15
The better passwords module file.

Code

function better_passwords_element_info_alter(array &$info) {
  if (isset($info['password_confirm'])) {
    $info['password_confirm']['#after_build'][] = 'better_passwords_after_build';
  }
}