You are here

public function UserEmailVerificationInterface::createVerification in User email verification 8

Create user email verification item.

Parameters

\Drupal\user\UserInterface $user: User to create email verification item for.

bool $verify: Flag mark as verified/no on creation.

1 method overrides UserEmailVerificationInterface::createVerification()
UserEmailVerification::createVerification in src/UserEmailVerification.php
Create user email verification item.

File

src/UserEmailVerificationInterface.php, line 174

Class

UserEmailVerificationInterface
Interface defining User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function createVerification(UserInterface $user, $verify = FALSE);