You are here

function flexslider_fields_field_formatter_info in Flex Slider 7

Same name and namespace in other branches
  1. 7.2 flexslider_fields/flexslider_fields.module \flexslider_fields_field_formatter_info()

Implements hook_field_formatter_info().

Adds the flexslider format option within the manage display form of of an image field.

File

flexslider_fields/flexslider_fields.module, line 17
Adds fields integration with FlexSlider

Code

function flexslider_fields_field_formatter_info() {
  return array(
    'flexslider' => array(
      'label' => t('flexslider'),
      'field types' => array(
        'image',
        'media',
      ),
      'settings' => array(
        'flexslider_optionset' => 'default',
        'flexslider_reference_img_src' => NULL,
      ),
    ),
  );
}