You are here

function emimage_field_formatter_info in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emimage/emimage.module \emimage_field_formatter_info()
  2. 6.2 contrib/emimage/emimage.module \emimage_field_formatter_info()

Implementation of hook_emfield_field_formatter_info *

File

contrib/emimage/emimage.module, line 91
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,
    ),
    'image_link' => array(
      'label' => t('Link to Image'),
      'field types' => $types,
    ),
  );
  return $formats;
}