1 user.module user_theme()

Implements hook_theme().

File

core/modules/user/user.module, line 82
Enables the user registration and login system.

Code

function user_theme() {
  $base = array(
    'file' => 'user.theme.inc',
  );

  return array(
    'user_picture' => array(
      'variables' => array('account' => NULL),
      'template' => 'templates/user-picture',
    ) + $base,
    'user_profile' => array(
      'render element' => 'elements',
      'template' => 'templates/user-profile',
    ) + $base,
    'user_list' => array(
      'variables' => array('users' => NULL, 'title' => NULL),
    ) + $base,
    'user_admin_permissions' => array(
      'render element' => 'form',
    ) + $base,
    'user_admin_roles' => array(
      'render element' => 'form',
    ) + $base,
    'user_permission_description' => array(
      'variables' => array('permission_item' => NULL),
    ) + $base,
    'user_signature' => array(
      'variables' => array('signature' => NULL),
    ) + $base,
    'username' => array(
      'variables' => array('account' => NULL),
    ) + $base,
  );
}