function theme_user_dashboard in UserDashboard 7
Returns HTML for the entire dashboard.
Parameters
array $variables: An associative array containing:
- element: A render element containing the properties of the dashboard region element, #dashboard_region and #children.
Return value
string HTML that will display the dashboard.
File
- ./
user_dashboard.module, line 674 - The User Dashboard module forks Drupal 7's awesome Dashboard module to provide an individual dashboard for each user on the site.
Code
function theme_user_dashboard($variables) {
extract($variables);
drupal_add_css(drupal_get_path('module', 'dashboard') . '/dashboard.css');
return '<div id="dashboard" class="clearfix user-dashboard">' . $element['#children'] . '</div>';
}