You are here

function pm_dashboard_get_links in Drupal PM (Project Management) 7.3

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

Return links array for the pm dashboard.

Parameters

bool $check_active: When FALSE, returns all links whether active or not (for admin settings).

string $type: Dashboard type.

Return value

array Dashboard links.

2 calls to pm_dashboard_get_links()
pm_block_view in ./pm.module
Implements hook_block_view().
pm_page_front in includes/pm.pages.inc
Page callback for 'pm' path.

File

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

Code

function pm_dashboard_get_links($check_active = TRUE, $type = 'page') {
  module_load_include('inc', 'pm', 'includes/pm.menu');
  $links = pm_menu_get_links($type, $check_active);
  return $links;
}