function theme_dashboard_admin

7.x dashboard.module theme_dashboard_admin($variables)

Returns HTML for the non-customizable part of the dashboard page.

Parameters

$variables: An associative array containing:

  • element: A render element containing a #message.

Related topics

3 string references to the theme hook from theme_dashboard_admin()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

dashboard_is_visible in drupal/modules/dashboard/dashboard.module
Determines if the dashboard should be displayed on the current page.
dashboard_menu in drupal/modules/dashboard/dashboard.module
Implements hook_menu().
dashboard_theme in drupal/modules/dashboard/dashboard.module
Implements hook_theme().

File

drupal/modules/dashboard/dashboard.module, line 609
Provides a dashboard page in the administrative interface.

Code

function theme_dashboard_admin($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>';
}