You are here

function theme_crumbs_breadcrumb_link in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 crumbs.module \theme_crumbs_breadcrumb_link()

Default theme implementation for theme('crumbs_breadcrumb_link').

Parameters

array $item:

Return value

string

1 theme call to theme_crumbs_breadcrumb_link()
crumbs_CurrentPageInfo::breadcrumbHtml in lib/CurrentPageInfo.php
Build the breadcrumb HTML.

File

./crumbs.theme.inc, line 50

Code

function theme_crumbs_breadcrumb_link(array $item) {
  if ('<nolink>' === $item['href']) {
    return check_plain($item['title']);
  }
  else {
    $options = isset($item['localized_options']) ? $item['localized_options'] : array();
    return l($item['title'], $item['link_path'], $options);
  }
}