You are here

public static function BlazyDefault::lazySettings in Blazy 8

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

Returns sensible default options common for Views lacking of UI.

2 calls to BlazyDefault::lazySettings()
BlazyDefault::entitySettings in src/BlazyDefault.php
Returns sensible default options common for entities lacking of UI.
BlazyStyleBaseTrait::buildSettings in src/Dejavu/BlazyStyleBaseTrait.php
Provides commons settings for the style plugins.

File

src/BlazyDefault.php, line 154

Class

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

Namespace

Drupal\blazy

Code

public static function lazySettings() {
  return [
    'blazy' => TRUE,
    'lazy' => 'blazy',
    'ratio' => 'fluid',
  ];
}