You are here

function pmproject_view in Drupal PM (Project Management) 7

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

Implements hook_view().

File

pmproject/pmproject.module, line 579

Code

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