function _blockreference_item in Block reference 6
Same name and namespace in other branches
- 7 blockreference.module \_blockreference_item()
2 calls to _blockreference_item()
- blockreference_allowed_values in ./
blockreference.module - Implementation of hook_allowed_values().
- blockreference_autocomplete in ./
blockreference.module - Retrieve a pipe delimited string of autocomplete suggestions
File
- ./
blockreference.module, line 787 - Defines a field type for referencing a block from a node.
Code
function _blockreference_item($field, $item, $html = FALSE) {
$output = theme('blockreference_item_simple', $item);
$output = $html ? check_plain($output) : $output;
return $output;
}