function theme_dashboard_region

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 dashboard.module theme_dashboard_region($variables)
cle7 dashboard.module theme_dashboard_region($variables)
elmsmedia7 dashboard.module theme_dashboard_region($variables)
icor7 dashboard.module theme_dashboard_region($variables)
meedjum_blog7 dashboard.module theme_dashboard_region($variables)
mooc7 dashboard.module theme_dashboard_region($variables)

Returns HTML for a generic dashboard region.

Parameters

$variables: An associative array containing:

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

Related topics

2 string references to the theme hook from theme_dashboard_region()

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_page_build in modules/dashboard/dashboard.module
Implements hook_page_build().
dashboard_theme in modules/dashboard/dashboard.module
Implements hook_theme().

File

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

Code

function theme_dashboard_region($variables) {
  extract($variables);
  $output = '<div id="' . $element['#dashboard_region'] . '" class="dashboard-region">';
  $output .= '<div class="region clearfix">';
  $output .= $element['#children'];
  // Closing div.region
  $output .= '</div>';
  // Closing div.dashboard-region
  $output .= '</div>';
  return $output;
}