function pmtask_pm_dashboard_links in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 pmtask/pmtask.module \pmtask_pm_dashboard_links()
- 7 pmtask/pmtask.module \pmtask_pm_dashboard_links()
- 7.2 pmtask/pmtask.module \pmtask_pm_dashboard_links()
Implements hook_pm_dashboard_links().
File
- pmtask/
pmtask.module, line 121 - Hook implementations for PM Task.
Code
function pmtask_pm_dashboard_links($type) {
$links = array();
if ($type == 'page' || $type == 'block') {
$links[] = array(
'theme' => 'pm_dashboard_link',
'title' => t('Tasks'),
'icon' => 'pmtasks',
'path' => 'pm/tasks',
'params' => array(),
'node_type' => 'pmtask',
'add_type' => 'pmtask',
'map' => array(),
'weight' => 5,
);
}
return $links;
}