You are here

public static function SlickDefault::gridSettings in Slick Carousel 7.3

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

Returns optional grid field formatter and Views settings.

Overrides BlazyDefault::gridSettings

2 calls to SlickDefault::gridSettings()
SlickDefault::imageSettings in src/SlickDefault.php
Returns image-related field formatter and Views settings.
SlickTextFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/SlickTextFormatter.php
Returns default settings.

File

src/SlickDefault.php, line 38

Class

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

Namespace

Drupal\slick

Code

public static function gridSettings() {
  return [
    'preserve_keys' => FALSE,
    'visible_items' => 0,
  ] + parent::gridSettings();
}