function photobox_field_formatter_info in PhotoboxPhotobox 7
Implements hook_field_formatter_info().
File
- ./
photobox.module, line 28 - Main file for the Photobox module.
Code
function photobox_field_formatter_info() {
$formatters = array(
'photobox' => array(
'label' => t('Photobox'),
// 'field types' => array('image', 'imagefield_crop', 'media', 'field_collection'),
'field types' => array(
'image',
),
'settings' => array(
'photobox_content_image_style' => '',
'photobox_content_image_style_first' => '',
'photobox_image_style' => '',
'photobox_gallery' => 'post',
'photobox_gallery_custom' => '',
'photobox_caption' => 'auto',
'photobox_caption_custom' => '',
),
),
);
return $formatters;
}