theme_breadcrumb

  1. drupal
    1. 4.7
    2. 5
    3. 6 theme.inc
    4. 7 theme.inc
Versions
4.7 – 6 theme_breadcrumb($breadcrumb)
7 theme_breadcrumb($variables)

Return a themed breadcrumb trail.

Parameters

$breadcrumb An array containing the breadcrumb links.

Return value

a string containing the breadcrumb output.

Related topics

Code

includes/theme.inc, line 632

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