Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
dashboard.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Feb 2010 at 01:19 UTC
Updated:
20 Feb 2010 at 01:54 UTC
/**
* 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;
}
$items['admin']['access arguments'] = array('access dashboard');
No way.
Comments
Comment #1
sunRe-opened the original issue:
#652122: Fix dashboard as the default /admin local task