function theme_acquia_lift_report_overview in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 theme/acquia_lift.theme.inc \theme_acquia_lift_report_overview()
Theme function for formatting a report overview item
1 theme call to theme_acquia_lift_report_overview()
- AcquiaLiftReport::buildOverviewReport in plugins/
agent_types/ AcquiaLiftAgent.inc - Returns a render array representing the overview report for the given dates.
File
- theme/
acquia_lift.theme.inc, line 248 - acquia_lift.theme.inc Provides theme functions for Acquia Lift.
Code
function theme_acquia_lift_report_overview($variables) {
$element = $variables['element'];
$output = '<div class="acquia-lift-overview-item">' . $element['#title'] . '</div>';
if (!empty($element['#description'])) {
$output .= '<div class="acquia-lift-overview-caption">' . $element['#description'] . '</div>';
}
return $output;
}