diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-15 15:12:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-15 15:12:22 +0000 |
commit | d89f0464264cb227a917a64660466099d93958aa (patch) | |
tree | 694f264cb9510118717d154b15a8d031d23ca982 /modules/dashboard/dashboard.module | |
parent | 4c9fd48cedb88ca3e4e1e19ef862feadb9e244d3 (diff) | |
download | brdo-d89f0464264cb227a917a64660466099d93958aa.tar.gz brdo-d89f0464264cb227a917a64660466099d93958aa.tar.bz2 |
- Patch #685034 by linclark: the number of comments in RDFa should be typed.
Diffstat (limited to 'modules/dashboard/dashboard.module')
-rw-r--r-- | modules/dashboard/dashboard.module | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/dashboard/dashboard.module b/modules/dashboard/dashboard.module index 44629f2a9..c4f1be96d 100644 --- a/modules/dashboard/dashboard.module +++ b/modules/dashboard/dashboard.module @@ -62,6 +62,18 @@ function dashboard_menu() { } /** + * Implements hook_menu_alter(). + */ +function dashboard_menu_alter(&$items) { + // Make the dashboard the default local task on /admin. + $items['admin']['title'] = 'Dashboard'; + $items['admin']['page callback'] = 'dashboard_admin'; + $items['admin']['access arguments'] = array('access dashboard'); + $items['admin/dashboard']['type'] = MENU_DEFAULT_LOCAL_TASK; + $items['admin/by-task']['type'] = MENU_LOCAL_TASK; +} + +/** * Implements hook_block_info_alter(). * * Skip rendering dashboard blocks when not on the dashboard page itself. This |