function theme_dashboard
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
File
- modules/dashboard/dashboard.module, line 594
- Provides a dashboard page in the administrative interface.
Code
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>'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!dashboard!dashboard.module/function/theme_dashboard/7.x