function field_slideshow_field_formatter_info in Field Slideshow 7.2
Same name and namespace in other branches
- 7 field_slideshow.module \field_slideshow_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
field_slideshow.module, line 11 - Implement a slideshow formatter for fields.
Code
function field_slideshow_field_formatter_info() {
$formatters = array(
'slideshow' => array(
'label' => t('Slideshow'),
'field types' => array(
'image',
'file',
'imagefield_crop',
'media',
'field_collection',
),
'settings' => array(
'slideshow_content_type' => 'image',
'slideshow_view_mode' => 'full',
'slideshow_image_style' => '',
'slideshow_file_style' => '',
'slideshow_link' => '',
'slideshow_colorbox_image_style' => '',
'slideshow_colorbox_slideshow' => '',
'slideshow_colorbox_slideshow_speed' => '4000',
'slideshow_colorbox_transition' => 'elastic',
'slideshow_colorbox_speed' => '350',
'slideshow_caption' => '',
'slideshow_caption_link' => '',
'slideshow_fx' => 'fade',
'slideshow_speed' => '1000',
'slideshow_timeout' => '4000',
'slideshow_order' => '',
'slideshow_controls' => 0,
'slideshow_controls_pause' => 0,
'slideshow_controls_position' => 'after',
'slideshow_pause' => 0,
'slideshow_start_on_hover' => 0,
'slideshow_pager' => '',
'slideshow_pager_position' => 'after',
'slideshow_pager_image_style' => '',
'slideshow_carousel_image_style' => '',
'slideshow_carousel_visible' => '3',
'slideshow_carousel_scroll' => '1',
'slideshow_carousel_speed' => '500',
'slideshow_carousel_vertical' => 0,
'slideshow_carousel_circular' => 0,
'slideshow_carousel_follow' => 0,
'slideshow_field_collection_image' => '',
'slideshow_carousel_skin' => '',
),
),
);
return $formatters;
}