1 user.module | user_preprocess_page(&$variables) |
Implements hook_preprocess_page().
File
- core/
modules/ user/ user.module, line 1922 - Enables the user registration and login system.
Code
function user_preprocess_page(&$variables) {
if (user_is_logged_in()) {
return;
}
if (config_get('system.core', 'user_login_appearance') == 'simplified' && user_is_login_path()) {
$variables['classes'][] = 'user-simplified-page-body';
}
}