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