You are here

class comment_CrumbsMonoPlugin_skip in Crumbs, the Breadcrumbs suite 7.2

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

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
comment_CrumbsMonoPlugin_skip::describe function 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.