You are here

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

Same name and namespace in other branches
  1. 7.2 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.

File

plugins/crumbs.comment.inc, line 28

Class

comment_CrumbsMonoPlugin_reply

Code

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