function emimage_field_formatter_info in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emimage/emimage.module \emimage_field_formatter_info()
- 6.2 contrib/emimage/emimage.module \emimage_field_formatter_info()
Implementation of hook_emfield_field_formatter_info *
File
- contrib/
emimage/ emimage.module, line 90 - Embedded Image module is a handler for images hosted on an external site.
Code
function emimage_field_formatter_info() {
$types = array(
'emimage',
);
$formats = array(
'default' => array(
'label' => t('Default'),
'field types' => $types,
),
'image_full' => array(
'label' => t('Full Size Image'),
'field types' => $types,
),
'image_preview' => array(
'label' => t('Preview Size Image'),
'field types' => $types,
),
'image_thumbnail' => array(
'label' => t('Image Thumbnail'),
'field types' => $types,
),
'image_embed' => array(
'label' => t('Embed Code'),
'field types' => $types,
),
);
return $formats;
}