You are here

function pmticket_view in Drupal PM (Project Management) 7

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

Implements hook_view().

File

pmticket/pmticket.module, line 667
1: Hooks 2: Access functions

Code

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