function theme_dashboard_region

7.x dashboard.module theme_dashboard_region($variables)

Returns HTML for a generic dashboard region.


$variables: An associative array containing:

  • element: A render element containing the properties of the dashboard region element, #dashboard_region and #children.

Related topics

2 string references to the theme hook from theme_dashboard_region()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

dashboard_page_build in drupal/modules/dashboard/dashboard.module
Implements hook_page_build().
dashboard_theme in drupal/modules/dashboard/dashboard.module
Implements hook_theme().


drupal/modules/dashboard/dashboard.module, line 625
Provides a dashboard page in the administrative interface.


function theme_dashboard_region($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;