function theme_user_dashboard_page in UserDashboard 7
Returns HTML for the non-customizable part of the dashboard page.
Parameters
array $variables: An associative array containing:
- element: A render element containing a #message.
1 theme call to theme_user_dashboard_page()
- user_dashboard_page in ./
user_dashboard.module - Dashboard page callback.
File
- ./
user_dashboard.module, line 689 - 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_page($variables) {
// We only return a simple help message, since the actual content of the page
// will be populated via the dashboard regions in dashboard_page_build();
return '<div class="customize-dashboard js-hide">' . $variables['element']['#message'] . '</div>';
}