You are here

public function UserEmailChangeCancelForm::__construct in Email confirmer 8

Constructs a UserEmailChangeCancelForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Drupal\user\UserDataInterface $user_data: The user data service.

\Drupal\email_confirmer\EmailConfirmerManagerInterface $email_confirmer: The email confirmer.

Overrides ContentEntityForm::__construct

File

email_confirmer_user/src/Form/UserEmailChangeCancelForm.php, line 47

Class

UserEmailChangeCancelForm
User pending email change cancellation form.

Namespace

Drupal\email_confirmer_user\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, UserDataInterface $user_data, EmailConfirmerManagerInterface $email_confirmer) {
  parent::__construct($entity_type_manager, $entity_type_bundle_info, $time);
  $this->userData = $user_data;
  $this->emailConfirmer = $email_confirmer;
}