You are here

function flexslider_picture_field_formatter_info in Picture 7

Same name and namespace in other branches
  1. 7.2 flexslider_picture/flexslider_picture.module \flexslider_picture_field_formatter_info()

Implements hook_field_formatter_info().

Redefine the formatter from flexslider so that our formatter function will be used.

File

flexslider_picture/flexslider_picture.module, line 26
Picture formatter with flexslider support.

Code

function flexslider_picture_field_formatter_info() {
  return array(
    'flexslider' => array(
      'label' => t('flexslider'),
      'field types' => array(
        'image',
        'media',
      ),
      'settings' => array(
        'optionset' => 'default',
        'image_style' => '',
        'caption' => FALSE,
      ),
    ),
  );
}