You are here

public static function BlazyFileFormatterBase::defaultSettings in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/BlazyFileFormatterBase.php \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFileFormatterBase::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/BlazyFileFormatterBase.php, line 58

Class

BlazyFileFormatterBase
Base class for blazy/slick image, and file ER formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return BlazyDefault::imageSettings() + BlazyDefault::gridSettings();
}