function change_pwd_page_modules_installed in Password Separate Form 8
Implements hook_modules_installed().
File
- ./
change_pwd_page.install, line 39 - Install file.
Code
function change_pwd_page_modules_installed($modules) {
// Integrate with password policy module. We update the change password page
// route to the one provided by this module to ensure password_policy works
// with our module.
// Do it here for cases where password_policy is installed after our module.
if (in_array('password_policy', $modules)) {
_change_pwd_page_set_password_policy_setting();
}
}