You are here

function user_email_verification_user_delete in User email verification 8

Same name and namespace in other branches
  1. 7 user_email_verification.module \user_email_verification_user_delete()

Implements hook_ENTITY_TYPE_delete().

File

./user_email_verification.module, line 230
User email verification hooks and alters.

Code

function user_email_verification_user_delete(UserInterface $user) {
  \Drupal::service('user_email_verification.service')
    ->deleteVerification($user);
}