| Versions | |
|---|---|
| 7 | hook_dashboard_regions_alter($regions) |
Alter dashboard regions provided by modules.
$regions An array containing all dashboard regions, in the format provided by hook_dashboard_regions().
drupal/
<?php
function hook_dashboard_regions_alter($regions) {
// Remove the sidebar region defined by the core dashboard module.
unset($regions['dashboard_sidebar']);
}
?>