You are here

public static function LazyLoad::defaultSettings in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/LazyLoad.php \Drupal\video_embed_field\Plugin\Field\FieldFormatter\LazyLoad::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/LazyLoad.php, line 140

Class

LazyLoad
Plugin implementation of the thumbnail field formatter.

Namespace

Drupal\video_embed_field\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return Thumbnail::defaultSettings() + Video::defaultSettings();
}