function file_entity_field_formatter_info in File Entity (fieldable files) 7
Same name and namespace in other branches
- 7.3 file_entity.field.inc \file_entity_field_formatter_info()
- 7.2 file_entity.field.inc \file_entity_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
file_entity.field.inc, line 11 - Field API integration for the file_entity module.
Code
function file_entity_field_formatter_info() {
$info['file_rendered'] = array(
'label' => t('Rendered file'),
'description' => t('Display the file in a specific view mode'),
'field types' => array(
'file',
'image',
),
'settings' => array(
'file_view_mode' => 'default',
),
);
return $info;
}