You are here

function baguettebox_field_formatter_info in baguetteBox.js 7

Implements hook_field_formatter_info().

File

./baguettebox.module, line 46
Primary hooks for baguettebox module.

Code

function baguettebox_field_formatter_info() {
  $formatters['baguettebox'] = array(
    'label' => t('baguetteBox'),
    'field types' => array(
      'image',
    ),
    'settings' => array(
      'initial_image_style' => '',
      'baguettebox_image_style' => '',
      'animation' => 'slideIn',
    ),
  );
  return $formatters;
}