You are here

function pm_pm_dashboard_links in Drupal PM (Project Management) 8

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

Implements hook_pm_dashboard_links().

File

./pm.module, line 289
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;
}