You are here

public static function SlickDefault::imageSettings in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 src/SlickDefault.php \Drupal\slick\SlickDefault::imageSettings()
  2. 7.3 src/SlickDefault.php \Drupal\slick\SlickDefault::imageSettings()

Returns image-related field formatter and Views settings.

Overrides BlazyDefault::imageSettings

2 calls to SlickDefault::imageSettings()
SlickDefault::extendedSettings in src/SlickDefault.php
Returns fieldable entity formatter and Views settings.
SlickFileFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/SlickFileFormatterBase.php

File

src/SlickDefault.php, line 30

Class

SlickDefault
Defines shared plugin default settings for field formatter and Views style.

Namespace

Drupal\slick

Code

public static function imageSettings() {
  return [
    'optionset_thumbnail' => '',
    'preserve_keys' => FALSE,
    'skin_thumbnail' => '',
    'thumbnail_caption' => '',
    'thumbnail_effect' => '',
    'thumbnail_position' => '',
    'visible_items' => 0,
  ] + self::baseSettings() + parent::imageSettings() + parent::gridSettings();
}