theme_dashboard

Versions
7
theme_dashboard($variables)

Theme the entire dashboard.

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.

Related topics

Code

modules/dashboard/dashboard.module, line 376

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.