theme_dashboard_admin

Versions
7
theme_dashboard_admin($variables)

Theme the page containing the dashboard.

Parameters

$variables An associative array containing:

  • elements: An associative array containing the properties of the element. Properties used: #message

Return value

A themed HTML string representing the non-customizable part of the dashboard page.

Related topics

Code

modules/dashboard/dashboard.module, line 395

<?php
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>';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.