theme_breadcrumb
- Versions
- 4.6 – 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 532
<?php
function theme_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
}
}
?>Login or register to post comments 