function file_field_formatter_info
Implements hook_field_formatter_info().
File
-
modules/
file/ file.field.inc, line 401
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',
),
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.