You are here

public function UserEmailVerificationReminders::__construct in User email verification 8

Constructs a new object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\user_email_verification\UserEmailVerificationInterface $user_email_verification_service: User email verification helper service.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/UserEmailVerificationReminders.php, line 40

Class

UserEmailVerificationReminders
Remind users which wasn't verified by cron.

Namespace

Drupal\user_email_verification\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, UserEmailVerificationInterface $user_email_verification_service) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->userEmailVerification = $user_email_verification_service;
}