You are here

public static function BlazyDefault::richSettings in Blazy 8.2

Returns default options common for rich Media entities: Facebook, etc.

This basically disables few Blazy features for rendered-entity-like.

1 call to BlazyDefault::richSettings()
BlazyManager::buildContent in src/BlazyManager.php
Build out (rich media) content.

File

src/BlazyDefault.php, line 188

Class

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

Namespace

Drupal\blazy

Code

public static function richSettings() {
  return [
    'background' => FALSE,
    'lazy' => '',
    'lightbox' => FALSE,
    'media_switch' => '',
    'placeholder' => '',
    'resimage' => FALSE,
    'use_loading' => FALSE,
    'type' => 'rich',
  ] + self::anywhereSettings();
}