You are here

function login_destination_user_logout in Login Destination 8

Same name and namespace in other branches
  1. 8.2 login_destination.module \login_destination_user_logout()
  2. 7 login_destination.module \login_destination_user_logout()

Implements hook_user_logout().

File

./login_destination.module, line 63
Control where users are directed to, once they login, register or logout.

Code

function login_destination_user_logout(AccountInterface $account) {
  login_destination_perform_redirect('logout', $account);
}