function theme_dashboard_region
Returns HTML for a generic dashboard region.
Parameters
$variables: An associative array containing:
- element: A render element containing the properties of the dashboard region element, #dashboard_region and #children.
Related topics
File
-
modules/
dashboard/ dashboard.module, line 625
Code
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.