You are here

function galleryformatter_field_formatter_info in Gallery formatter 7

Same name and namespace in other branches
  1. 6 galleryformatter.module \galleryformatter_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./galleryformatter.module, line 9

Code

function galleryformatter_field_formatter_info() {
  return array(
    'galleryformatter_default' => array(
      'label' => t('jQuery Gallery'),
      'field types' => array(
        'image',
        'media',
      ),
      'settings' => array(
        'slide_style' => 'galleryformatter_slide',
        'thumb_style' => 'galleryformatter_thumb',
        'style' => 'Greenarrows',
        'linking_method' => 'show_full_link',
        'link_to_full' => 1,
        'link_to_full_style' => 0,
        'modal' => 'none',
      ),
      'description' => t('Display multi-value fields as an jQuery Image gallery.'),
    ),
  );
}