You are here

function computed_field_view_item in Computed Field 5

Same name and namespace in other branches
  1. 6 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 214

Code

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