function commerce_reports_dashboard_block_width in Commerce Reporting 7.3
Same name and namespace in other branches
- 7.4 commerce_reports.dashboard.inc \commerce_reports_dashboard_block_width()
1 call to commerce_reports_dashboard_block_width()
- commerce_reports_dashboard in ./
commerce_reports.dashboard.inc - Renders the dashboard.
File
- ./
commerce_reports.dashboard.inc, line 11 - Dashboard for reporting module.
Code
function commerce_reports_dashboard_block_width($items = array()) {
$width = 0;
foreach ($items as $item) {
$width += isset($item['#width']) ? $item['#width'] : COMMERCE_REPORTS_DASHBOARD_BLOCK;
}
return $width;
}