function photoswipe_field_formatter_info in PhotoSwipe 7.2
Same name and namespace in other branches
- 6 photoswipe.module \photoswipe_field_formatter_info()
- 7 photoswipe.module \photoswipe_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
photoswipe.module, line 146 - Photswipe integration with Drupal module.
Code
function photoswipe_field_formatter_info() {
return array(
'photoswipe' => array(
'label' => t('Photoswipe'),
'field types' => array(
'image',
),
'settings' => array(
'photoswipe_node_style_first' => '',
'photoswipe_node_style' => '',
'photoswipe_image_style' => '',
'photoswipe_caption' => '',
'photoswipe_view_mode' => '',
),
),
);
}