class comment_CrumbsMonoPlugin_reply in Crumbs, the Breadcrumbs suite 7
Same name and namespace in other branches
- 7.2 plugins/crumbs.comment.inc \comment_CrumbsMonoPlugin_reply
Hierarchy
- class \comment_CrumbsMonoPlugin_reply implements crumbs_MonoPlugin
Expanded class hierarchy of comment_CrumbsMonoPlugin_reply
File
- plugins/
crumbs.comment.inc, line 14
View source
class comment_CrumbsMonoPlugin_reply implements crumbs_MonoPlugin {
/**
* Describe this plugin for the configuration form.
*/
function describe($api) {
return t('Make node/% the parent for comment/reply/%');
}
/**
* 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.
*/
function findParent__comment_reply_x($path, $item) {
$nid = $item['fragments'][2];
return 'node/' . $nid;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
comment_CrumbsMonoPlugin_reply:: |
function |
Describe this plugin for the configuration form. Overrides crumbs_MonoPlugin:: |
||
comment_CrumbsMonoPlugin_reply:: |
function | 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. |