Error message
You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).function dashboard_regions
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
Code
function dashboard_regions () {
$regions =& drupal_static (__FUNCTION__);
if (!isset($regions)) {
$regions = array_keys (dashboard_region_descriptions ());
}
return $regions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.