| Versions | |
|---|---|
| 4.7 – 6 | theme_breadcrumb( |
| 7 | theme_breadcrumb($variables) |
Return a themed breadcrumb trail.
$breadcrumb An array containing the breadcrumb links.
a string containing the breadcrumb output.
includes/
<?php
function theme_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">' . implode(' » ', $breadcrumb) . '</div>';
}
}
?>