You are here

function computed_field_view_item in Computed Field 6

Same name and namespace in other branches
  1. 5 computed_field.module \computed_field_view_item()

Implementation of cck hook_view_item (obsolete, retained for backward compatibility with older cck)

File

./computed_field.module, line 293

Code

function computed_field_view_item($field, $node_field_item, $node = NULL) {
  global $base_url;
  $display = '';
  eval($field['display_format']);
  return $display;
}