class SlickDefault in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/SlickDefault.php \Drupal\slick\SlickDefault
- 7.3 src/SlickDefault.php \Drupal\slick\SlickDefault
Defines shared plugin default settings for field formatter and Views style.
Hierarchy
- class \Drupal\blazy\BlazyDefault
- class \Drupal\blazy\Dejavu\BlazyDefault
- class \Drupal\slick\SlickDefault
- class \Drupal\blazy\Dejavu\BlazyDefault
Expanded class hierarchy of SlickDefault
See also
FormatterBase::defaultSettings()
StylePluginBase::defineOptions()
4 files declare their use of SlickDefault
- slick.module in ./
slick.module - Slick carousel integration, the last carousel you'll ever need.
- SlickEntityFormatterBase.php in src/
Plugin/ Field/ FieldFormatter/ SlickEntityFormatterBase.php - SlickFileFormatterBase.php in src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatterBase.php - SlickTextFormatter.php in src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php
File
- src/
SlickDefault.php, line 13
Namespace
Drupal\slickView source
class SlickDefault extends BlazyDefault {
/**
* {@inheritdoc}
*/
public static function baseSettings() {
return [
'override' => FALSE,
'overridables' => [],
'skin_arrows' => '',
'skin_dots' => '',
] + parent::baseSettings();
}
/**
* {@inheritdoc}
*/
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();
}
/**
* {@inheritdoc}
*/
public static function extendedSettings() {
return [
'thumbnail' => '',
] + self::imageSettings() + parent::extendedSettings();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlazyDefault:: |
private static | property | The alterable settings. | |
BlazyDefault:: |
private static | property | The supported $breakpoints. | |
BlazyDefault:: |
private static | property | The current class instance. | |
BlazyDefault:: |
public | function | Returns alterable plugin settings to pass the tests. | |
BlazyDefault:: |
public static | function | Returns image-related field formatter and Views settings. | |
BlazyDefault:: |
public static | function | Returns sensible default options common for entities lacking of UI. | |
BlazyDefault:: |
public static | function | Returns Blazy specific breakpoints. | |
BlazyDefault:: |
public static | function | Returns the static instance of this class. | |
BlazyDefault:: |
public static | function | Returns optional grid field formatter and Views settings. | |
BlazyDefault:: |
public static | function | Returns sensible default html settings to shutup notices when lacking. | |
BlazyDefault:: |
public static | function | Returns sensible default options common for Views lacking of UI. | |
BlazyDefault:: |
constant | Defines constant for the supported text tags. | ||
BlazyDefault:: |
public static | function | Returns additional/ optional blazy theme attributes. | |
BlazyDefault:: |
public static | function | Returns blazy theme properties, its image and container attributes. | |
BlazyDefault:: |
public static | function | Returns shared global form settings which should be consumed at formatters. | |
BlazyDefault:: |
public static | function | Returns Views specific settings. | |
SlickDefault:: |
public static | function |
Returns basic plugin settings. Overrides BlazyDefault:: |
|
SlickDefault:: |
public static | function |
Returns fieldable entity formatter and Views settings. Overrides BlazyDefault:: |
|
SlickDefault:: |
public static | function |
Returns image-related field formatter and Views settings. Overrides BlazyDefault:: |