function dashboard_regions

7.x dashboard.module dashboard_regions()

Returns an array of dashboard region names.

4 calls to dashboard_regions()
dashboard_block_list_alter in drupal-7.x/modules/dashboard/dashboard.module
Implements hook_block_list_alter().
dashboard_disable in drupal-7.x/modules/dashboard/dashboard.install
Implements hook_disable().
dashboard_page_build in drupal-7.x/modules/dashboard/dashboard.module
Implements hook_page_build().
dashboard_system_info_alter in drupal-7.x/modules/dashboard/dashboard.module
Implements hook_system_info_alter().
1 string reference to 'dashboard_regions'
dashboard_region_descriptions in drupal-7.x/modules/dashboard/dashboard.module
Returns an array of dashboard region descriptions, keyed by region name.

File

drupal-7.x/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;
}