You are here

function filefield_field_formatter_info in FileField 5.2

Same name and namespace in other branches
  1. 5 filefield.module \filefield_field_formatter_info()
  2. 6.3 filefield.module \filefield_field_formatter_info()
  3. 6.2 filefield.module \filefield_field_formatter_info()

Implementation of hook_field formatter. @todo: finish transformer.module and integrate like imagecache with imagefield.

File

./filefield.module, line 713
Defines a file field type.

Code

function filefield_field_formatter_info() {
  $formatters = array(
    'default' => array(
      'label' => t('Default'),
      'field types' => array(
        'file',
      ),
    ),
  );
  return $formatters;
}