function pmissue_view in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmissue/pmissue.module \pmissue_view()
- 7.2 pmissue/pmissue.module \pmissue_view()
Implements hook_view().
File
- pmissue/
pmissue.module, line 64 - Hook implementations for PM Issue.
Code
function pmissue_view($node, $view_mode) {
if ($view_mode == 'full' && node_is_page($node)) {
$breadcrumb = array(
l(t('Project Management'), 'pm'),
l(t('Issues'), 'pm/issues'),
);
drupal_set_breadcrumb($breadcrumb);
}
return $node;
}