public function UserEmailVerificationBlockAccount::__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.
\Psr\Log\LoggerInterface $logger: A logger instance.
Overrides PluginBase::__construct
File
- src/
Plugin/ QueueWorker/ UserEmailVerificationBlockAccount.php, line 50
Class
- UserEmailVerificationBlockAccount
- Block user accounts which wasn't verified by cron.
Namespace
Drupal\user_email_verification\Plugin\QueueWorkerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, UserEmailVerificationInterface $user_email_verification_service, LoggerInterface $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->userEmailVerification = $user_email_verification_service;
$this->logger = $logger;
}