theme_dashboard

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 theme_dashboard($variables)

Returns HTML for the entire dashboard.

Parameters

$variables An associative array containing:

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

Related topics

Code

modules/dashboard/dashboard.module, line 590

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