function user_theme in Drupal 7
Same name and namespace in other branches
- 8 core/modules/user/user.module \user_theme()
- 6 modules/user/user.module \user_theme()
- 9 core/modules/user/user.module \user_theme()
Implements hook_theme().
File
- modules/
user/ user.module, line 108 - Enables the user registration and login system.
Code
function user_theme() {
return array(
'user_picture' => array(
'variables' => array(
'account' => NULL,
),
'template' => 'user-picture',
),
'user_profile' => array(
'render element' => 'elements',
'template' => 'user-profile',
'file' => 'user.pages.inc',
),
'user_profile_category' => array(
'render element' => 'element',
'template' => 'user-profile-category',
'file' => 'user.pages.inc',
),
'user_profile_item' => array(
'render element' => 'element',
'template' => 'user-profile-item',
'file' => 'user.pages.inc',
),
'user_list' => array(
'variables' => array(
'users' => NULL,
'title' => NULL,
),
),
'user_admin_permissions' => array(
'render element' => 'form',
'file' => 'user.admin.inc',
),
'user_admin_roles' => array(
'render element' => 'form',
'file' => 'user.admin.inc',
),
'user_permission_description' => array(
'variables' => array(
'permission_item' => NULL,
'hide' => NULL,
),
'file' => 'user.admin.inc',
),
'user_signature' => array(
'variables' => array(
'signature' => NULL,
),
),
);
}