class comment_CrumbsMonoPlugin_skip in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 plugins/crumbs.comment.inc \comment_CrumbsMonoPlugin_skip
Hierarchy
- class \comment_CrumbsMonoPlugin_skip implements crumbs_MonoPlugin
Expanded class hierarchy of comment_CrumbsMonoPlugin_skip
File
- plugins/
crumbs.comment.inc, line 68
View source
class comment_CrumbsMonoPlugin_skip implements crumbs_MonoPlugin {
/**
* {@inheritdoc}
*/
function describe($api) {
return t('Skip comment/% in the breadcrumb.');
}
/**
* The default title for comment/% is "Comment permalink",
* so not very useful to have in the breadcrumb.
*
* @param string $path
* @param array $item
*
* @return false
* A value of FALSE indicates that the breadcrumb item should be skipped.
*/
function findTitle__comment_x($path, $item) {
return FALSE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
comment_CrumbsMonoPlugin_skip:: |
function |
Overrides crumbs_MonoPlugin:: |
||
comment_CrumbsMonoPlugin_skip:: |
function | The default title for comment/% is "Comment permalink", so not very useful to have in the breadcrumb. |