function custom_breadcrumbs_paths_node_view in Custom Breadcrumbs 7.2
Implements hook_node_view().
File
- custom_breadcrumbs_paths/
custom_breadcrumbs_paths.module, line 90
Code
function custom_breadcrumbs_paths_node_view($node, $build_mode) {
if ($build_mode == 'full') {
// Check for breadcrumb at this path and set if a match is found.
// Nodes have higher priority than views and theme templates.
_custom_breadcrumbs_paths_set_breadcrumb(array(
'node' => $node,
), 3);
}
}