function commons_profile_theme in Drupal Commons 6.2
Implementation of hook_theme()
File
- modules/
features/ commons_profile/ commons_profile.module, line 53
Code
function commons_profile_theme() {
$registry = array(
'commons_profile_image_action_links_block' => array(
'arguments' => array(
'picture' => NULL,
'links' => NULL,
'account' => NULL,
),
),
'commons_profile_friend_autocomplete_item' => array(
'arguments' => array(
'name' => NULL,
'picture' => NULL,
),
),
);
// Iterate the registry to add the theme template file
foreach ($registry as $key => $item) {
$registry[$key]['file'] = 'commons_profile.theme.inc';
}
return $registry;
}