You are here

function persistent_login_user_logout in Persistent Login 8

Same name and namespace in other branches
  1. 7 persistent_login.module \persistent_login_user_logout()

Implements hook_user_logout().

File

./persistent_login.module, line 44
Contains persistent_login.module.

Code

function persistent_login_user_logout($account) {
  \Drupal::service('persistent_login.token_handler')
    ->clearSessionToken();
}