function file_field_formatter_info in Drupal 7
Implements hook_field_formatter_info().
File
- modules/
file/ file.field.inc, line 401 - Field module functionality for the File module.
Code
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',
),
),
);
}