theme_dashboard_admin

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 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

Code

modules/dashboard/dashboard.module, line 605

<?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>';
}
?>