You are here

class _crumbs_CrumbsPlugin__home_title in Crumbs, the Breadcrumbs suite 6

Same name and namespace in other branches
  1. 6.2 plugins/crumbs.crumbs.inc \_crumbs_CrumbsPlugin__home_title

Hierarchy

Expanded class hierarchy of _crumbs_CrumbsPlugin__home_title

File

plugins/crumbs.crumbs.inc, line 16

View source
class _crumbs_CrumbsPlugin__home_title {
  function define($h) {
    return $h
      ->setTitle(t('Set "Home" as the title for the root item.'));
  }
  function findTitle($path, array $item, array $breadcrumb_parents) {
    if (!count($breadcrumb_parents)) {
      return t('Home');
    }
  }

}

Members