You are here

public static function ImageDeltaFormatter::defaultSettings in Image Delta Formatter 8

Defines the default settings for this plugin.

Return value

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

Overrides ImageFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/ImageDeltaFormatter.php, line 26

Class

ImageDeltaFormatter
Plugin implementation of the 'image_delta_formatter' formatter.

Namespace

Drupal\image_delta_formatter\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'deltas' => 0,
    'deltas_reversed' => FALSE,
  ] + parent::defaultSettings();
}