You are here

function _taxonomy_CrumbsPlugin__term_name::findTitle__taxonomy_term__ in Crumbs, the Breadcrumbs suite 6

File

plugins/crumbs.taxonomy.inc, line 77

Class

_taxonomy_CrumbsPlugin__term_name

Code

function findTitle__taxonomy_term__($path, $item) {
  $terms = $item['fragments'][2];
  $terms = taxonomy_terms_parse_string($terms);
  if (!isset($terms['tids']) || !count($terms['tids'])) {
    return;
  }
  return $this
    ->_buildTermsTitle($terms['tids']);
}