function dashboard_regions

dashboard_regions()

Returns an array of dashboard region names.

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!dashboard!dashboard.module/function/dashboard_regions/7.x