function heartbeat_theme in Heartbeat 7
Same name and namespace in other branches
- 8 heartbeat.module \heartbeat_theme()
- 6.4 heartbeat.module \heartbeat_theme()
- 6.2 heartbeat.module \heartbeat_theme()
- 6.3 heartbeat.module \heartbeat_theme()
Implements hook_theme().
File
- ./
heartbeat.module, line 280 - Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.
Code
function heartbeat_theme() {
return array(
'heartbeat_activity' => array(
'render element' => 'elements',
'template' => 'heartbeat-activity',
),
'heartbeat_activity_avatar' => array(
'variables' => array(
'heartbeatactivity' => NULL,
'uri' => NULL,
),
),
'activity_pager' => array(
'variables' => array(
'stream' => NULL,
),
),
'heartbeat_list' => array(
'variables' => array(
'stream' => NULL,
'content' => NULL,
),
),
'heartbeat_buttons' => array(
'variables' => array(
'heartbeat_activity' => NULL,
),
),
'heartbeat_time_ago' => array(
'variables' => array(
'heartbeat_activity' => NULL,
),
),
'heartbeat_message_user_select_form' => array(
'render element' => 'form',
),
);
}