You are here

public static function BlazyDefault::baseSettings in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::baseSettings()
  2. 7 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::baseSettings()

Returns basic plugin settings.

1 call to BlazyDefault::baseSettings()
BlazyDefault::imageSettings in src/BlazyDefault.php
Returns image-related field formatter and Views settings.

File

src/BlazyDefault.php, line 70

Class

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

Namespace

Drupal\blazy

Code

public static function baseSettings() {
  $settings = [
    'cache' => 0,
    'current_view_mode' => '',
    'optionset' => 'default',
    'skin' => '',
    'style' => '',
  ];
  blazy_alterable_settings($settings);
  return $settings;
}