You are here

function _blog_CrumbsPlugin::findParent__node_x in Crumbs, the Breadcrumbs suite 6.2

File

plugins/crumbs.blog.inc, line 11

Class

_blog_CrumbsPlugin

Code

function findParent__node_x($path, $item) {
  $node = $item['map'][1];
  if ($node->type === 'blog') {
    return 'blog/' . $node->uid;
  }
}