function casetracker_dashboard_overview in Case Tracker 5
Menu callback Displays a list of all projects and a count of all their states.
Parameters
void:
Return value
string
1 string reference to 'casetracker_dashboard_overview'
- casetracker_dashboard_menu in ./
casetracker_dashboard.module - Implementation of hook_menu().
File
- ./
casetracker_dashboard.module, line 73
Code
function casetracker_dashboard_overview() {
drupal_set_breadcrumb(array(
l(t('Home'), NULL),
l(t('Case Tracker'), 'casetracker'),
l(t('Dashboard'), 'casetracker/dashboard'),
));
drupal_add_css(drupal_get_path('module', 'casetracker') . '/casetracker.css');
$output = array();
// first we create an overview of all projects and their states counts
$output[] = _casetracker_dashboard_states();
return implode("\n\n", $output);
}