You are here

function comment_CrumbsMonoPlugin_reply::findParent__comment_reply_x in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 plugins/crumbs.comment.inc \comment_CrumbsMonoPlugin_reply::findParent__comment_reply_x()

findParent callback for comment/reply/%. Actually, system paths cam look more like comment/reply/%/%, but the router path is comment/reply/%. Complain to the people who wrote comment module.

Parameters

string $path:

array $item:

Return value

string

File

plugins/crumbs.comment.inc, line 33

Class

comment_CrumbsMonoPlugin_reply

Code

function findParent__comment_reply_x($path, $item) {
  $nid = $item['fragments'][2];
  return 'node/' . $nid;
}