You are here

function theme_user_dashboard_region in UserDashboard 7

Returns HTML for a generic dashboard region.

Parameters

array $variables: An associative array containing:

  • element: A render element containing the properties of the dashboard region element, #dashboard_region and #children.

File

./user_dashboard.module, line 705
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_region($variables) {
  extract($variables);
  $output = '
              <div id="' . $element['#dashboard_region'] . '" class="user-dashboard-region">
                <div class="region clearfix">
                  ' . $element['#children'] . '
                </div>
              </div>
            ';
  return $output;
}