You are here

function theme_computed_field_formatter_default in Computed Field 5

Same name and namespace in other branches
  1. 6 computed_field.module \theme_computed_field_formatter_default()

Theme function for 'default' text field formatter.

File

./computed_field.module, line 270

Code

function theme_computed_field_formatter_default($element) {
  $field = content_fields($element['#field_name']);

  // For "some" backwards compatibility
  $node_field_item['value'] = $element['#item']['value'];
  eval($field['display_format']);
  return $display;
}