You are here

public function MassPasswordResetConfirmForm::__construct in Mass Password Reset 8

Same name and namespace in other branches
  1. 2.x src/Form/MassPasswordResetConfirmForm.php \Drupal\mass_pwreset\Form\MassPasswordResetConfirmForm::__construct()

Construct password reset confirm form object.

File

src/Form/MassPasswordResetConfirmForm.php, line 22

Class

MassPasswordResetConfirmForm
Mass Password Reset Form.

Namespace

Drupal\mass_pwreset\Form

Code

public function __construct() {

  // Get batch data from private tempstore.
  $tempstore = \Drupal::service('tempstore.private')
    ->get('mass_pwreset');
  $this->batchData = $tempstore
    ->get('batch_data');
}