You are here

function picture_field_formatter_info in Picture 7

Same name and namespace in other branches
  1. 7.2 picture.module \picture_field_formatter_info()

Implements hook_field_formatter_info().

File

./picture.module, line 367
Picture formatter.

Code

function picture_field_formatter_info() {
  $formatters = array(
    'picture' => array(
      'label' => t('Picture'),
      'field types' => array(
        'image',
      ),
      'settings' => array(
        'picture_group' => '',
        'fallback_image_style' => '',
        'image_link' => '',
        'colorbox_settings' => array(
          'colorbox_group' => '',
          'colorbox_gallery' => 'post',
          'colorbox_gallery_custom' => '',
          'colorbox_caption' => 'auto',
          'colorbox_caption_custom' => '',
          'colorbox_multivalue_index' => NULL,
        ),
      ),
    ),
  );
  return $formatters;
}