function theme_sheetnode_formatter_default in Sheetnode 5
Same name and namespace in other branches
- 6 sheetnode.module \theme_sheetnode_formatter_default()
File
- ./
sheetnode.module, line 566
Code
function theme_sheetnode_formatter_default($element) {
$value = $element['#item']['value'];
$output = _sheetnode_inject($value, FALSE, isset($element['#node']) ? array(
'entity-name' => 'node',
'oid' => $element['#node']->nid,
) : NULL);
return $output;
}