You are here

public static function BlazyDefault::baseImageSettings in Blazy 7

Same name and namespace in other branches
  1. 8.2 src/BlazyDefault.php \Drupal\blazy\BlazyDefault::baseImageSettings()
  2. 8 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 88

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_media_style' => '',
    'breakpoints' => [],
    'caption' => [],
    'lazy' => 'blazy',
    'responsive_image_style' => '',
    'sizes' => '',
  ] + self::cherrySettings();
}