function theme_dashboard_admin

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

1 theme call to theme_dashboard_admin()
dashboard_admin in modules/dashboard/dashboard.module
Page callback: Displays the dashboard.

File

modules/dashboard/dashboard.module, line 609

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.