template_preprocess_user_profile

function template_preprocess_user_profile

template_preprocess_user_profile(&$variables)

Process variables for user-profile.tpl.php.

Parameters

array $variables: An associative array containing:

  • elements: An associative array containing the user information and any fields attached to the user. Properties used:
    • #account: The user account of the profile being viewed.

See also

user-profile.tpl.php

File

modules/user/登录查看完整内容