function theme_heartbeat_attachments in Heartbeat 7
Theme function for messages attachments.
Parameters
$variables: Array of variables available for output.
2 theme calls to theme_heartbeat_attachments()
- heartbeat_plugins_heartbeat_activity_view in modules/
heartbeat_plugins/ heartbeat_plugins.module - Implements hook_heartbeat_activity_view().
- hook_heartbeat_activity_view in ./
heartbeat.api.php - This hook is provided by Heartbeat to prepare content for an activity object.
File
- modules/
heartbeat_plugins/ heartbeat_plugins.module, line 460
Code
function theme_heartbeat_attachments($variables) {
$output = '<div class="heartbeat-attachments">';
$output .= implode(' ', $variables['attachments']);
$output .= '</div>';
return $output;
}