You are here

function blog_CrumbsMonoPlugin_authorPage::findParent__node_x in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 plugins/crumbs.blog.inc \blog_CrumbsMonoPlugin_authorPage::findParent__node_x()

Still under constructon..

Parameters

string $path:

array $item:

Return value

null|string

File

plugins/crumbs.blog.inc, line 32

Class

blog_CrumbsMonoPlugin_authorPage

Code

function findParent__node_x($path, $item) {
  $node = crumbs_Util::itemExtractEntity($item, 'node', 1);
  if ($node === FALSE || $node->type !== 'blog') {
    return NULL;
  }
  return 'blog/' . $node->uid;
}