You are here

public function UserEmailVerificationVerifyEvent::setNotifyAsBlocked in User email verification 8

Sets whether if the user must be notified as blocked account.

Parameters

bool $notify_as_blocked: Whether the user must be notified as blocked account.

File

src/Event/UserEmailVerificationVerifyEvent.php, line 68

Class

UserEmailVerificationVerifyEvent
Wraps a user email verification event for event subscribers.

Namespace

Drupal\user_email_verification\Event

Code

public function setNotifyAsBlocked($notify_as_blocked) {
  $this->notifyAsBlocked = $notify_as_blocked;
}