You are here

function pmorganization_view in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmorganization/pmorganization.module \pmorganization_view()
  2. 7 pmorganization/pmorganization.module \pmorganization_view()
  3. 7.2 pmorganization/pmorganization.module \pmorganization_view()

Implements hook_view().

File

pmorganization/pmorganization.module, line 68
Main module file for PM Organization.

Code

function pmorganization_view($node, $view_mode) {
  if ($view_mode == 'full' && node_is_page($node)) {
    $breadcrumb = array(
      array(
        'text' => t('Organizations'),
        'path' => 'pm/organizations',
      ),
    );
    pm_set_breadcrumb($breadcrumb);
  }
  return $node;
}