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 