Issue #2061545 by StephaneQ, rterrein: Add missing ampersand in sample hook_dashboard_regions_alter function body

merge-requests/26/head
Jennifer Hodgdon 2013-08-13 07:59:09 -07:00
parent 493eb8f292
commit 8bc33bdef3
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function hook_dashboard_regions() {
* An array containing all dashboard regions, in the format provided by
* hook_dashboard_regions().
*/
function hook_dashboard_regions_alter($regions) {
function hook_dashboard_regions_alter(&$regions) {
// Remove the sidebar region defined by the core dashboard module.
unset($regions['dashboard_sidebar']);
}