Issue #2061545 by StephaneQ, rterrein: Add missing ampersand in sample hook_dashboard_regions_alter function body
parent
493eb8f292
commit
8bc33bdef3
|
@ -32,7 +32,7 @@ function hook_dashboard_regions() {
|
||||||
* An array containing all dashboard regions, in the format provided by
|
* An array containing all dashboard regions, in the format provided by
|
||||||
* hook_dashboard_regions().
|
* 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.
|
// Remove the sidebar region defined by the core dashboard module.
|
||||||
unset($regions['dashboard_sidebar']);
|
unset($regions['dashboard_sidebar']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue