You are here

function slick_fields_default_settings in Slick Carousel 7.2

Defines default field formatter settings to avoid notices.

2 calls to slick_fields_default_settings()
slick_fields_field_formatter_info in slick_fields/slick_fields.module
Implements hook_field_formatter_info().
slick_fields_field_formatter_view in slick_fields/slick_fields.module
Implements hook_field_formatter_view().

File

slick_fields/slick_fields.module, line 199
Provides fields integration for the Slick carousel.

Code

function slick_fields_default_settings() {
  module_load_include('inc', 'slick', 'includes/slick.global');
  $settings = array(
    'box_caption' => '',
    'box_caption_custom' => '',
    'breakpoints' => array(),
    'color_field' => '',
    'colorbox_style' => '',
    'iframe_lazy' => FALSE,
    'markup' => FALSE,
    'nested_slick' => FALSE,
    'nested_optionset' => '',
    'nested_style' => '',
    'picture' => FALSE,
    'picture_style' => '',
    'picture_fallback' => '',
    'thumbnail_style' => '',
  ) + slick_get_global_default_settings();
  return $settings;
}