You are here

function jquery_carousel_field_formatter_info in jQuery carousel 7

Implements hook_field_formatter_info().

File

./jquery_carousel.module, line 38
Provide jquery carousel style plugin for views.

Code

function jquery_carousel_field_formatter_info() {
  return array(
    // Key must be unique, so it's best to prefix with your module's name.
    'jquery_carousel_images' => array(
      // Label is is what is displayed in the select box in the UI.
      'label' => t('jQuery Carousel'),
      // Field types is the important bit!!
      // List the field types your formatter is for.
      'field types' => array(
        'image',
      ),
      // Settings form for jquery carousel formatter.
      'settings' => _jquery_carousel_formatter_defaults(),
    ),
  );
}