public static function BootstrapBasicImageGalleryFormatter::defaultSettings in Bootstrap Basic Image Gallery 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ BootstrapBasicImageGalleryFormatter.php, line 350
Class
- BootstrapBasicImageGalleryFormatter
- Plugin implementation of the 'BootstrapBasicImageGalleryFormatter' formatter.
Namespace
Drupal\bootstrap_basic_image_gallery\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'image_style' => '',
'thumbnail_image_style' => '',
'thumbnails_per_row' => '3',
'modal_image_style' => '',
'carousel_autorotate' => 0,
'carousel_interval' => 5000,
'lazyload' => 1,
] + parent::defaultSettings();
}