You are here

public function UserEmailVerificationInterface::isVerificationNeeded in User email verification 8

Checks: Is email verification needed for a requested user.

Parameters

int $uid: User ID, optional, if not set - current user ID will be used.

Return value

bool Result of check.

1 method overrides UserEmailVerificationInterface::isVerificationNeeded()
UserEmailVerification::isVerificationNeeded in src/UserEmailVerification.php
Checks: Is email verification needed for a requested user.

File

src/UserEmailVerificationInterface.php, line 255

Class

UserEmailVerificationInterface
Interface defining User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function isVerificationNeeded($uid = 0);