You are here

public static function BlazyDefault::cherrySettings in Blazy 7

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

Returns cherry-picked settings for field formatters and Views fields.

2 calls to BlazyDefault::cherrySettings()
BlazyDefault::baseImageSettings in src/BlazyDefault.php
Returns image-related field formatter and Views settings.
BlazyManagerBase::isBlazy in src/BlazyManagerBase.php
Checks for Blazy formatter such as from within a Views style plugin.

File

src/BlazyDefault.php, line 74

Class

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

Namespace

Drupal\blazy

Code

public static function cherrySettings() {
  return [
    'box_style' => '',
    'image_style' => '',
    'media_switch' => '',
    'ratio' => '',
    'thumbnail_style' => '',
    '_uri' => '',
  ];
}