You are here

class comment_CrumbsMonoPlugin_skip in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 7.2 plugins/crumbs.comment.inc \comment_CrumbsMonoPlugin_skip

Hierarchy

Expanded class hierarchy of comment_CrumbsMonoPlugin_skip

File

plugins/crumbs.comment.inc, line 57

View source
class comment_CrumbsMonoPlugin_skip implements crumbs_MonoPlugin {

  /**
   * Describe this plugin for the configuration form.
   */
  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.
   */
  function findTitle__comment_x($path, $item) {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
comment_CrumbsMonoPlugin_skip::describe function Describe this plugin for the configuration form. Overrides crumbs_MonoPlugin::describe
comment_CrumbsMonoPlugin_skip::findTitle__comment_x function The default title for comment/% is "Comment permalink", so not very useful to have in the breadcrumb.