You are here

function pminvoice_view in Drupal PM (Project Management) 7

Implements hook_view().

File

pminvoice/pminvoice.module, line 774
1: Hooks (help, perm, init, menu, theme, node_info) 2: Access functions 3: Load organization and project details 4: Invoice create / edit form 5: Invoice node manipulation functions 6: Admin settings 7: Views hook 8: Project Managementinvoiceitem…

Code

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