function theme_acquia_lift_report_overview in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 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()
- _build_overview_report in ./
acquia_lift.admin.inc - Returns a render array representing the overview report for the given dates.
File
- theme/
acquia_lift.theme.inc, line 215 - 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;
}