You are here

function imagezoom_field_formatter_info in Image Zoom 7

Same name and namespace in other branches
  1. 7.2 imagezoom.module \imagezoom_field_formatter_info()

Implements hook_field_formatter().

File

./imagezoom.module, line 32
Provides an Image Zoom field formatter for Image fields.

Code

function imagezoom_field_formatter_info() {
  $formatters = array(
    'imagezoom' => array(
      'label' => t('Image Zoom'),
      'field types' => array(
        'image',
        'media',
      ),
      'settings' => array(
        'imagezoom_display_style' => '',
        'imagezoom_zoom_style' => '',
        'imagezoom_thumb_style' => '',
      ),
    ),
  );
  return $formatters;
}