function _blockreference_item in Block reference 7
Same name and namespace in other branches
- 6 blockreference.module \_blockreference_item()
Get the HTML for a block display title.
2 calls to _blockreference_item()
- blockreference_autocomplete in ./
blockreference.module - Menu callback for the autocomplete results.
- blockreference_list_values in ./
blockreference.module - Build the select options for a blockreference_select_sort element.
File
- ./
blockreference.module, line 954 - Defines a field type for referencing a block from a node.
Code
function _blockreference_item($field, $item, $html = FALSE) {
$output = theme('blockreference_item_simple', array(
'item' => $item,
));
$output = $html ? check_plain($output) : $output;
return $output;
}