You are here

function pm_pm_dashboard_links in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pm.module \pm_pm_dashboard_links()
  2. 7.3 pm.module \pm_pm_dashboard_links()
  3. 7 pm.module \pm_pm_dashboard_links()

Implements hook_pm_dashboard_links().

File

./pm.module, line 229
Main module file for the Project Management module.

Code

function pm_pm_dashboard_links($type) {
  $links = array();
  if ($type == 'page' || $type == 'block') {
    $links[] = array(
      'title' => t('Configuration'),
      'icon' => 'pmconfiguration',
      'path' => 'admin/config/pm',
      'params' => array(),
      'node_type' => '',
      'add_type' => '',
      'map' => array(),
      'weight' => 15,
    );
  }
  return $links;
}