You are here

function fancybox_field_formatter_info in fancyBox 7

Same name and namespace in other branches
  1. 6 fancybox.module \fancybox_field_formatter_info()
  2. 7.2 fancybox.module \fancybox_field_formatter_info()

Implements hook_field_formatter_info().

File

./fancybox.module, line 470
Provides the Fancybox jQuery plugin for displaying images, HTML content and multimedia in an elegant box.

Code

function fancybox_field_formatter_info() {
  $formatters = array(
    'fancybox_image' => array(
      'label' => t('Fancybox image'),
      'field types' => array(
        'image',
      ),
      'settings' => array(
        'image_style' => '',
        'image_link_style' => '',
      ),
    ),
  );
  return $formatters;
}