function _user_dashboard_regions in UserDashboard 7
Return an array of dashboard region names.
3 calls to _user_dashboard_regions()
- user_dashboard_block_list_alter in ./
user_dashboard.module - Implements hook_block_list_alter().
- user_dashboard_page_build in ./
user_dashboard.module - Implements hook_page_build().
- user_dashboard_system_info_alter in ./
user_dashboard.module - Implements hook_system_info_alter().
File
- ./
user_dashboard.module, line 805 - The User Dashboard module forks Drupal 7's awesome Dashboard module to provide an individual dashboard for each user on the site.
Code
function _user_dashboard_regions() {
$regions =& drupal_static(__FUNCTION__);
if (!isset($regions)) {
$regions = array_keys(_user_dashboard_region_descriptions());
}
return $regions;
}