function profile_theme in Drupal 7
Same name and namespace in other branches
- 6 modules/profile/profile.module \profile_theme()
Implements hook_theme().
File
- modules/
profile/ profile.module, line 55 - Support for configurable user profiles.
Code
function profile_theme() {
return array(
'profile_block' => array(
'variables' => array(
'account' => NULL,
'fields' => array(),
),
'template' => 'profile-block',
),
'profile_listing' => array(
'variables' => array(
'account' => NULL,
'fields' => array(),
),
'template' => 'profile-listing',
),
'profile_wrapper' => array(
'variables' => array(
'content' => NULL,
),
'template' => 'profile-wrapper',
),
'profile_admin_overview' => array(
'render element' => 'form',
'file' => 'profile.admin.inc',
),
);
}