You are here

function fancybox_field_formatter_info in fancyBox 7.2

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

Implements hook_field_formatter_info().

File

./fancybox.module, line 224
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_field_formatter_info() {
  return array(
    'fancybox' => array(
      'label' => t('fancyBox'),
      'field types' => array(
        'image',
      ),
      'settings' => array(
        'fancybox_image_style_content' => 'thumbnail',
        'fancybox_image_style_fancybox' => 'large',
        'fancybox_gallery' => 'post',
        'fancybox_gallery_custom' => '',
        'fancybox_caption' => 'auto',
        'fancybox_caption_custom' => '',
      ),
    ),
  );
}