You are here

function pmnote_pm_dashboard_links in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmnote/pmnote.module \pmnote_pm_dashboard_links()
  2. 7 pmnote/pmnote.module \pmnote_pm_dashboard_links()
  3. 7.2 pmnote/pmnote.module \pmnote_pm_dashboard_links()

Implements hook_pm_dashboard_links().

File

pmnote/pmnote.module, line 124
Functions for the PM Note module.

Code

function pmnote_pm_dashboard_links($type) {
  $links = array();
  if ($type == 'page' || $type == 'block') {
    $links[] = array(
      'theme' => 'pm_dashboard_link',
      'title' => t('Notes'),
      'icon' => 'pmnotes',
      'path' => 'pm/notes',
      'params' => array(),
      'node_type' => 'pmnote',
      'add_type' => 'pmnote',
      'map' => array(),
      'weight' => 9,
    );
  }
  return $links;
}