You are here

function pmtask_view in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmtask/pmtask.module \pmtask_view()
  2. 7.3 pmtask/pmtask.module \pmtask_view()
  3. 7.2 pmtask/pmtask.module \pmtask_view()

Implements hook_view().

File

pmtask/pmtask.module, line 648

Code

function pmtask_view($node, $view_mode) {
  $breadcrumb = array();
  $breadcrumb[] = l(t('Project Management'), 'pm');
  $breadcrumb[] = l(t('Tasks'), 'pm/tasks');
  drupal_set_breadcrumb($breadcrumb);
  return theme('pmtask_view', array(
    'node' => $node,
    'view_mode' => $view_mode,
  ));
}