You are here

function theme_tvi_breadcrumb in Taxonomy Views Integrator 7

Same name and namespace in other branches
  1. 6 tvi.module \theme_tvi_breadcrumb()

Return the taxonomy page breadcrumb (for active view overrides).

The algorithm we use is based off of $views->get_breadcrumb(), but has a few important differences. Override this if you have your own breadcrumb method.

Parameters

object $term: The term object.

object $view: The view definition object.

Return value

array The array defining the breadcrumb content.

See also

tvi_get_breadcrumb()

File

./tvi.module, line 185
Allow to define views to be used instead of default drupal behavior on taxonomy terms pages.

Code

function theme_tvi_breadcrumb($term, $view) {
  return tvi_get_breadcrumb($term, $view);
}