You are here

public function ChangePasswordForm::__construct in Password Separate Form 8

Constructs a UserPasswordForm object.

Parameters

\Drupal\Core\Password\PasswordInterface $password_hasher: The password service.

File

src/Form/ChangePasswordForm.php, line 38

Class

ChangePasswordForm
Provides a user password reset form.

Namespace

Drupal\change_pwd_page\Form

Code

public function __construct(PasswordInterface $password_hasher) {
  $this->passwordHasher = $password_hasher;
}