function custom_breadcrumbs_paths_nodeapi in Custom Breadcrumbs 6.2
Implements hook_nodeapi().
File
- custom_breadcrumbs_paths/
custom_breadcrumbs_paths.module, line 84
Code
function custom_breadcrumbs_paths_nodeapi($node, $op, $teaser, $page) {
if ($op == 'alter' && empty($teaser) && !empty($page)) {
// 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);
}
}