From 675f2dd68a1686782171a0e3bfa5475e1e965ed9 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Fri, 20 Jun 2014 08:18:33 -0700 Subject: [PATCH] Issue #1369822 by er.pushpinderrana, Cottser: Fix docs for template_preprocess_user --- core/modules/user/user.pages.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/modules/user/user.pages.inc b/core/modules/user/user.pages.inc index ff51b0fa9829..b276e57be998 100644 --- a/core/modules/user/user.pages.inc +++ b/core/modules/user/user.pages.inc @@ -105,7 +105,11 @@ function user_pass_reset($form, &$form_state, $uid, $timestamp, $hashed_pass, $a * * @param array $variables * An associative array containing: - * - account: The user account. + * - elements: An associative array containing the user information and any + * fields attached to the user. Properties used: + * - #user: A \Drupal\user\Entity\User object. The user account of the + * profile being viewed. + * - attributes: HTML attributes for the containing element. */ function template_preprocess_user(&$variables) { $account = $variables['elements']['#user']; -- GitLab