function user_build_content

Same name and namespace in other branches
  1. 7.x drupal-7.x/modules/user/user.module \user_build_content()

Builds a structured array representing the profile content.

Parameters

$account: A user object.

Return value

A structured array containing the individual elements of the profile.

1 call to user_build_content()
user_view in drupal-6.x/modules/user/user.pages.inc
Menu callback; Displays a user or user profile page.

Archivo

drupal-6.x/modules/user/user.module, line 1681
Enables the user registration and login system.

Código

function user_build_content(&$account) {
  $edit = NULL;
  user_module_invoke('view', $edit, $account);
  // Allow modules to modify the fully-built profile.
  drupal_alter('profile', $account);

  return $account->content;
}