You are here

public static function FormatterBase::defaultSettings in Blazy 7

Returns default settings.

Overrides FormatterInterface::defaultSettings

1 call to FormatterBase::defaultSettings()
FormatterBase::mergeDefaults in src/Plugin/Field/FieldFormatter/FormatterBase.php
Merges default settings values into $settings.
2 methods override FormatterBase::defaultSettings()
BlazyFormatterBase::defaultSettings in src/Plugin/Field/FieldFormatter/BlazyFormatterBase.php
Returns default settings.
BlazyTextFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php
Returns default settings.

File

src/Plugin/Field/FieldFormatter/FormatterBase.php, line 256

Class

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

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [];
}