Implements hook_field_formatter_info().
function file_field_formatter_info() {
return array(
'file_default' => array(
'label' => t('Generic file'),
'field types' => array(
'file',
),
),
'file_table' => array(
'label' => t('Table of files'),
'field types' => array(
'file',
),
),
'file_url_plain' => array(
'label' => t('URL to file'),
'field types' => array(
'file',
),
),
);
}