You are here

function casetracker_admin_dashboard in Case Tracker 7.2

1 string reference to 'casetracker_admin_dashboard'
casetracker_menu in ./casetracker.module
Implements hook_menu().

File

pages/casetracker.pages.inc, line 68
This file have the page callback functions that are called in hook_menu()

Code

function casetracker_admin_dashboard() {
  $local_cases = menu_local_tasks();
  $content = array();
  foreach ($local_cases['tabs']['output'] as $case) {
    $content[] = $case['#link'];
  }
  $form = drupal_get_form('casetracker_create_basic_types_form');
  $output = render($form);
  $output .= theme('admin_block_content', array(
    'content' => $content,
  ));
  return $output;
}