You are here

function theme_filefield_formatter_default in FileField 6.3

Same name and namespace in other branches
  1. 6.2 filefield.formatter.inc \theme_filefield_formatter_default()

Theme function for the 'default' filefield formatter.

File

./filefield_formatter.inc, line 15
FileField: Defines a CCK file field type.

Code

function theme_filefield_formatter_default($element) {
  $file = $element['#item'];
  $field = content_fields($element['#field_name']);
  $output = theme('filefield_item', $file, $field);
  return $output;
}