You are here

function theme_filefield_formatter_default in FileField 6.2

Same name and namespace in other branches
  1. 6.3 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']);
  return theme('filefield', $file, $field);
}