You are here

crumbs.comment.inc in Crumbs, the Breadcrumbs suite 6.2

Same filename and directory in other branches
  1. 7.2 plugins/crumbs.comment.inc
  2. 7 plugins/crumbs.comment.inc

File

plugins/crumbs.comment.inc
View source
<?php

function comment_crumbs_plugins() {
  return array(
    'reply' => new _comment_CrumbsPlugin__reply(),
  );
}

/**
 * Note: A findTitle() method is not necessary,
 * the title defined in comment_menu() is sufficient.
 */
class _comment_CrumbsPlugin__reply {
  function findParent__comment_reply_x($path, $item) {
    $nid = $item['fragments'][2];
    return 'node/' . $nid;
  }

}

Functions

Classes

Namesort descending Description
_comment_CrumbsPlugin__reply Note: A findTitle() method is not necessary, the title defined in comment_menu() is sufficient.