You are here

public static function BlazyDefault::lazySettings in Blazy 7

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

Returns sensible default options common for Views lacking of UI.

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

File

src/BlazyDefault.php, line 138

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',
  ];
}