You are here

public static function SlickDefault::imageSettings in Slick Carousel 7.3

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

Returns image-related field formatter and Views settings.

Overrides BlazyDefault::imageSettings

3 calls to SlickDefault::imageSettings()
SlickDefault::extendedSettings in src/SlickDefault.php
Returns fieldable entity formatter and Views settings.
SlickDefault::htmlSettings in src/SlickDefault.php
Returns HTML or layout related settings to shut up notices.
SlickFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/SlickFormatterBase.php
Returns default settings.

File

src/SlickDefault.php, line 48

Class

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

Namespace

Drupal\slick

Code

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