You are here

function slick_slideshow_field_formatter_info in Slick Slideshow Lite 7

Implements hook_field_formatter_info().

File

./slick_slideshow.module, line 68
Defines a system for adding the Slick responsive slideshow library to Drupal.

Code

function slick_slideshow_field_formatter_info() {
  $settings = _slick_slideshow_settings_generate();
  foreach ($settings as &$setting) {
    $setting = '';
  }
  return array(
    'slick_slideshow' => array(
      'label' => t('Slick Slideshow'),
      'description' => t('Displays the field as a Slick slideshow. The field must allow for more than 1 value entered. Works best with unlimited allowed values.'),
      'field types' => array(
        'image',
      ),
      'settings' => $settings,
    ),
  );
}