theme_breadcrumb

Definition

theme_breadcrumb($breadcrumb)
drupal/includes/theme.inc, line 627

Description

Return a themed breadcrumb trail.

Parameters

$breadcrumb An array containing the breadcrumb links.

Return value

a string containing the breadcrumb output.

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function theme_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
  }
}