theme_dashboard_region
- Versions
- 7
theme_dashboard_region($variables)
Theme a generic dashboard region.
Parameters
$variables
- element: An associative array containing the properties of the dashboard region element. Properties used: #dashboard_region, #children
Return value
A string representing the themed dashboard region.
Related topics
Code
modules/dashboard/dashboard.module, line 412
<?php
function theme_dashboard_region($variables) {
extract($variables);
$output = '<div id="' . $element['#dashboard_region'] . '" class="dashboard-region">';
$output .= '<div class="region clearfix">';
$output .= $element['#children'];
// Closing div.region
$output .= '</div>';
// Closing div.dashboard-region
$output .= '</div>';
return $output;
}
?>Login or register to post comments 