SlickDefault.php in Slick Carousel 8
File
src/SlickDefault.php
View source
<?php
namespace Drupal\slick;
use Drupal\blazy\Dejavu\BlazyDefault;
class SlickDefault extends BlazyDefault {
public static function baseSettings() {
return [
'override' => FALSE,
'overridables' => [],
'skin_arrows' => '',
'skin_dots' => '',
] + parent::baseSettings();
}
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();
}
public static function extendedSettings() {
return [
'thumbnail' => '',
] + self::imageSettings() + parent::extendedSettings();
}
}
Classes
Name |
Description |
SlickDefault |
Defines shared plugin default settings for field formatter and Views style. |