function crumbs_block_view in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 crumbs.module \crumbs_block_view()
Implements hook_block_view()
Parameters
string $delta:
Return value
array
File
- ./
crumbs.block.inc, line 23
Code
function crumbs_block_view($delta = '') {
$block = array();
switch ($delta) {
case 'breadcrumb':
$html = crumbs()->page->breadcrumbHtml;
if (!empty($html)) {
$block['content'] = $html;
}
break;
}
return $block;
}