You are here

public static function BlazyDefault::baseImageSettings in Blazy 8

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

Returns image-related field formatter and Views settings.

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

File

src/BlazyDefault.php, line 86

Class

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

Namespace

Drupal\blazy

Code

public static function baseImageSettings() {
  return [
    'background' => FALSE,
    'box_caption' => '',
    'box_caption_custom' => '',
    'box_style' => '',
    'box_media_style' => '',
    'breakpoints' => [],
    'caption' => [],
    'image_style' => '',
    'media_switch' => '',
    'ratio' => '',
    'responsive_image_style' => '',
    'sizes' => '',
  ];
}