function login_destination_user_logout in Login Destination 8.2
Same name and namespace in other branches
- 8 login_destination.module \login_destination_user_logout()
- 7 login_destination.module \login_destination_user_logout()
Implements hook_user_logout().
File
- ./
login_destination.module, line 65 - 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);
}