You are here

function field_orbit_field_formatter_info in ZURB Orbit 7.2

Same name and namespace in other branches
  1. 7 field_orbit.module \field_orbit_field_formatter_info()

Implements hook_field_formatter_info().

File

./field_orbit.module, line 11
Implement a orbit formatter for fields.

Code

function field_orbit_field_formatter_info() {
  $formatters = array(
    'orbit' => array(
      'label' => t('Orbit slideshow'),
      'field types' => array(
        'image',
        'file',
      ),
      'settings' => array(
        'animation' => 'fade',
        'timer_speed' => 10000,
        'pause_on_hover' => true,
        'resume_on_mouseout' => false,
        'animation_speed' => 500,
        'stack_on_small' => true,
        'navigation_arrows' => true,
        'slide_number' => true,
        'container_class' => 'orbit-container',
        'stack_on_small_class' => 'orbit-stack-on-small',
        'next_class' => 'orbit-next',
        'prev_class' => 'orbit-prev',
        'timer_container_class' => 'orbit-timer',
        'timer_paused_class' => 'paused',
        'timer_progress_class' => 'orbit-progress',
        'slides_container_class' => 'orbit-slides-container',
        'bullets_container_class' => 'orbit-bullets',
        'bullets_active_class' => 'active',
        'slide_number_class' => 'orbit-slide-number',
        'caption_class' => 'orbit-caption',
        'active_slide_class' => 'active',
        'orbit_transition_class' => 'orbit-transitioning',
        'bullets' => true,
        'bulletThumbs' => false,
        'timer' => true,
        'variable_height' => false,
        'before_slide_change' => '',
        'after_slide_change' => '',
        'orbit_field_collection_image' => '',
        'orbit_image_style' => '',
        'orbit_link' => '',
        'orbit_title' => '',
        'orbit_caption' => '',
        'orbit_caption_link' => '',
        'orbit_bullet_thumbs' => '',
      ),
    ),
  );
  return $formatters;
}