You are here

class og_CrumbsMonoPlugin_groups_overview_title in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 plugins/crumbs.og.inc \og_CrumbsMonoPlugin_groups_overview_title

Make t('Groups') the title for '/group-list'.

Hierarchy

Expanded class hierarchy of og_CrumbsMonoPlugin_groups_overview_title

File

plugins/crumbs.og.inc, line 135

View source
class og_CrumbsMonoPlugin_groups_overview_title implements crumbs_MonoPlugin_FindTitleInterface {

  /**
   * {@inheritdoc}
   */
  function describe($api) {
    return t('Set "Group" as the title for item for "group-list".');
  }

  /**
   * {@inheritdoc}
   */
  function findTitle($path, $item) {
    if ($item['route'] === 'group-list') {
      return t('Groups');
    }
    return NULL;
  }

}

Members