function theme_blockreference_formatter_without_title in Block reference 6
Same name and namespace in other branches
- 7.2 blockreference.module \theme_blockreference_formatter_without_title()
- 7 blockreference.module \theme_blockreference_formatter_without_title()
Theme function for 'without_title' blockreference field formatter.
File
- ./
blockreference.module, line 291 - Defines a field type for referencing a block from a node.
Code
function theme_blockreference_formatter_without_title($element) {
$block = _theme_blockreference_formatter_get_block($element);
$block->subject = '';
// Without title
$output = '';
if ($block->content) {
$output = theme('block', $block);
}
return $output;
}