theme_user_profile

Versions
4.6 – 5
theme_user_profile($account, $fields)
6
theme_user_profile($account)
7
theme_user_profile($elements)

Theme a user page.

See also

template_preprocess_user_profile()

@see user-profile.tpl.php

Parameters

$account A user object. $account->content contains the content array.

Return value

A formatted HTML string.

Related topics

Code

developer/theme.php, line 27

<?php
function theme_user_profile($account) {
  return drupal_render($account->content);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.