function pmteam_pm_dashboard_links in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmteam/pmteam.module \pmteam_pm_dashboard_links()
- 7.3 pmteam/pmteam.module \pmteam_pm_dashboard_links()
- 7.2 pmteam/pmteam.module \pmteam_pm_dashboard_links()
Implements hook_pm_dashboard_links().
File
- pmteam/
pmteam.module, line 608 - Functionality for the Project Management Team module Organized into the following sections:
Code
function pmteam_pm_dashboard_links($type) {
$links = array();
if ($type == 'page' || $type == 'block') {
$links[] = array(
'theme' => 'pm_dashboard_link',
'title' => t('Teams'),
'icon' => 'pmteams',
'path' => 'pm/teams',
'params' => array(),
'node_type' => 'pmteam',
'add_type' => 'pmteam',
'map' => array(),
'weight' => 3,
);
}
return $links;
}