function pmorganization_view in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pmorganization/pmorganization.module \pmorganization_view()
- 7.3 pmorganization/pmorganization.module \pmorganization_view()
- 7.2 pmorganization/pmorganization.module \pmorganization_view()
Implements hook_view().
File
- pmorganization/
pmorganization.module, line 462
Code
function pmorganization_view($node, $view_mode) {
if ($view_mode == 'full' && node_is_page($node)) {
$breadcrumb = array();
$breadcrumb[] = l(t('Project Management'), 'pm');
$breadcrumb[] = l(t('Organizations'), 'pm/organizations');
drupal_set_breadcrumb($breadcrumb);
}
return theme('pmorganization_view', array(
'node' => $node,
'view_mode' => $view_mode,
));
}