You are here

function dashboard_regions in Drupal 7

Returns an array of dashboard region names.

3 calls to dashboard_regions()
dashboard_block_list_alter in modules/dashboard/dashboard.module
Implements hook_block_list_alter().
dashboard_page_build in modules/dashboard/dashboard.module
Implements hook_page_build().
dashboard_system_info_alter in modules/dashboard/dashboard.module
Implements hook_system_info_alter().

File

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

Code

function dashboard_regions() {
  $regions =& drupal_static(__FUNCTION__);
  if (!isset($regions)) {
    $regions = array_keys(dashboard_region_descriptions());
  }
  return $regions;
}