You are here

function theme_computed_field_formatter_plain in Computed Field 5

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

Theme function for 'plain' text field formatter.

File

./computed_field.module, line 281

Code

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

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