function user_user_logout

user_user_logout($account)

Implements hook_user_logout().

File

core/modules/user/user.module, line 559
Enables the user registration and login system.

Code

function user_user_logout($account) {
  // Reset static cache of default variables in template_preprocess() to reflect
  // the new user.
  drupal_static_reset('template_preprocess');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!user!user.module/function/user_user_logout/8.1.x