function theme_dashboard

7.x dashboard.module theme_dashboard($variables)

Returns HTML for the entire dashboard.


$variables: An associative array containing:

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

Related topics

4 string references to the theme hook from theme_dashboard()

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.

DashboardBlocksTestCase::testDisableEnable in drupal/modules/dashboard/dashboard.test
Tests that the dashboard module can be re-enabled, retaining its blocks.
dashboard_admin in drupal/modules/dashboard/dashboard.module
Page callback: Displays the dashboard.
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 594
Provides a dashboard page in the administrative interface.


function theme_dashboard($variables) {
  drupal_add_css(drupal_get_path('module', 'dashboard') . '/dashboard.css');
  return '<div id="dashboard" class="clearfix">' . $element['#children'] . '</div>';