function user_user_login
user_user_login($account)
Implements hook_user_login().
File
- core/modules/user/user.module, line 550
- Enables the user registration and login system.
Code
function user_user_login($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_login/8.1.x