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

$elements A content form array. $elements['#account'] contains the user object.

Return value

A formatted HTML string.

Related topics

Code

developer/theme.php, line 27

<?php
function theme_user_profile($elements) {
  return drupal_render($elements);
}
?>
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.