You are here

function total_control_dashboard_menu in Total Control Admin Dashboard 6.2

Same name and namespace in other branches
  1. 6 plugins/tasks/dashboard.inc \total_control_dashboard_menu()
  2. 7.2 plugins/tasks/dashboard.inc \total_control_dashboard_menu()

Menu Callback

1 string reference to 'total_control_dashboard_menu'
total_control_dashboard_page_manager_tasks in plugins/tasks/dashboard.inc
Specialized implementation of hook_page_manager_tasks(). See api-task.html for more information.

File

plugins/tasks/dashboard.inc, line 36
Default dashboard setup.

Code

function total_control_dashboard_menu(&$items) {
  $items['admin/dashboard'] = array(
    'title' => 'Dashboard',
    'description' => 'Administrative Dashboard',
    'page callback' => 'total_control_dashboard',
    'file path' => drupal_get_path('module', 'total_control') . '/plugins/tasks',
    'file' => 'dashboard.inc',
    'access arguments' => array(
      'have total control',
    ),
    'weight' => -50,
  );
  $items['admin/dashboard/all'] = array(
    'title' => 'Dashboard',
    'description' => 'Administrative Dashboard',
    'weight' => -50,
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  return $items;
}